Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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