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.
Diff: Socket.cpp
- Revision:
- 14:7ca9776b9cc0
- Parent:
- 12:d317e056fd20
- Child:
- 15:94e2cf3a06be
diff -r ef377dec76b3 -r 7ca9776b9cc0 Socket.cpp
--- a/Socket.cpp Tue Apr 05 15:30:26 2016 -0500
+++ b/Socket.cpp Tue Apr 05 23:39:54 2016 +0000
@@ -18,6 +18,8 @@
Socket::Socket(NetworkInterface *iface, NetworkInterface::protocol_t proto)
: _iface(iface)
+ , _blocking(true)
+ , _timeout(0)
{
_socket = _iface->socket_create(proto);
}