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: TCPServer.h
- Revision:
- 3:dea0cdb42241
- Parent:
- 1:968f7b32278f
- Child:
- 5:b66a6984ed2d
diff -r ef2470ca328b -r dea0cdb42241 TCPServer.h --- a/TCPServer.h Tue Apr 05 06:22:10 2016 -0500 +++ b/TCPServer.h Tue Apr 05 06:56:22 2016 -0500 @@ -47,7 +47,7 @@ \param socket A TCPSocket instance that will handle the incoming connection. \return 0 on success, negative on failure. */ - int accept(TCPSocket &connection); + int accept(TCPSocket *connection); /** Register a callback on when a new connection is ready \param callback Function to call when accept will succeed, may be called in