We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b777e39 commit 922eddfCopy full SHA for 922eddf
features/netsocket/TCPServer.h
@@ -56,17 +56,9 @@ class TCPServer : public Socket {
56
*/
57
virtual ~TCPServer();
58
59
- /** Listen for connections on a TCP socket
60
- *
61
- * Marks the socket as a passive socket that can be used to accept
62
- * incoming connections.
63
64
- * @param backlog Number of pending connections that can be queued
65
- * simultaneously, defaults to 1
66
- * @return 0 on success, negative error code on failure
67
- */
68
- nsapi_error_t listen(int backlog = 1);
69
-
+ // Allow legacy TCPServer::accept() to override inherited Socket::accept()
+ using TCPSocket::accept;
+
70
/** Accepts a connection on a TCP socket
71
*
72
* The server socket must be bound and set to listen for connections.
0 commit comments