Add a bunch of APNs
Fork of C027_Support by
Diff: Socket/TCPSocketConnection.h
- Revision:
- 47:9a89e5195721
- Parent:
- 44:9d12223b78ff
- Child:
- 54:7ba8e4c218e2
diff -r 8ce9169e0747 -r 9a89e5195721 Socket/TCPSocketConnection.h --- a/Socket/TCPSocketConnection.h Tue May 06 06:54:12 2014 +0000 +++ b/Socket/TCPSocketConnection.h Fri May 09 17:43:55 2014 +0000 @@ -28,9 +28,11 @@ } } + _mdm->socketSetBlocking(_socket, _timeout); if (!_mdm->socketConnect(_socket, host, port)) { return false; } + return true; } /** Check if the socket is connected