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:
- 10:d24738f4ef99
- Parent:
- 9:f972715add36
- Child:
- 11:3d83c348fb8b
--- a/TCPSocketServer.h Fri Jul 27 15:56:20 2012 +0000
+++ b/TCPSocketServer.h Tue Jul 31 11:50:55 2012 +0000
@@ -45,10 +45,9 @@
/** Accept a new connection.
\param connection A TCPSocketConnection instance that will handle the incoming connection.
- \param timeout_ms The maximum amount of time in ms to wait for a new connection.
\return 0 on success, -1 on failure.
*/
- int accept(TCPSocketConnection& connection, int timeout_ms=0);
+ int accept(TCPSocketConnection& connection);
};
#endif
mbed official


