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.
Dependencies: DnsQuery
Fork of NetworkSocketAPI by
Diff: Socket.h
- Revision:
- 9:1600369a29dd
- Parent:
- 7:43a7e8c0d6cc
- Child:
- 14:7ca9776b9cc0
--- a/Socket.h Tue Apr 05 12:02:56 2016 -0500
+++ b/Socket.h Tue Apr 05 12:52:07 2016 -0500
@@ -26,7 +26,7 @@
public:
/** Socket lifetime
*/
- ~Socket();
+ virtual ~Socket();
/** Set blocking or non-blocking mode of the socket
\param blocking true for blocking mode, false for non-blocking mode.
@@ -62,6 +62,8 @@
protected:
Socket(NetworkInterface *iface, NetworkInterface::protocol_t proto);
+ static void thunk(void *);
+
NetworkInterface *_iface;
void *_socket;
bool _blocking;
