mbed socket API
Dependents: EthernetInterface EthernetInterface_RSF EthernetInterface EthernetInterface ... more
Deprecated
This is an mbed 2 sockets library. For mbed 5, network sockets have been revised to better support additional network stacks and thread safety here.
Diff: TCPSocketServer.h
- Revision:
- 6:cd2e5559786d
- Parent:
- 3:e6474399e057
- Child:
- 8:9cf9c2d45264
--- a/TCPSocketServer.h Thu Jul 26 15:07:32 2012 +0000
+++ b/TCPSocketServer.h Fri Jul 27 13:58:53 2012 +0000
@@ -46,7 +46,7 @@
\param socket A socket instance that will handle the incoming connection.
\return 0 on success, -1 on failure.
*/
- int accept(TCPSocketConnection& connection, int timeout=0);
+ int accept(TCPSocketConnection& connection, int timeout_ms=0);
};
#endif
mbed official


