Add a bunch of APNs
Fork of C027_Support by
Diff: Socket/Socket.h
- Revision:
- 49:8175b2b72d6b
- Parent:
- 47:9a89e5195721
- Child:
- 54:7ba8e4c218e2
diff -r 46ba168127d6 -r 8175b2b72d6b Socket/Socket.h --- a/Socket/Socket.h Fri May 09 17:44:40 2014 +0000 +++ b/Socket/Socket.h Fri May 09 17:49:32 2014 +0000 @@ -25,7 +25,6 @@ int close() { bool ret = false; - printf("\r\n++++ socket closing\r\n\r\n"); if (_socket >= 0) { ret = _mdm->socketClose(_socket); @@ -35,8 +34,7 @@ return ret ? 0 : -1; } - ~Socket() { printf("\r\n++++ socket free\r\n\r\n"); - close(); } + ~Socket() { close(); } protected: int _socket;