debug version
Dependents: HTTPClient_WiFi_HelloWorld_src
Fork of SNICInterface by
Diff: Socket/TCPSocketServer.h
- Revision:
- 32:ae95309643aa
- Parent:
- 29:6a0ba999597d
- Child:
- 39:a1233ca02edf
--- a/Socket/TCPSocketServer.h Thu May 29 03:23:21 2014 +0000 +++ b/Socket/TCPSocketServer.h Fri May 30 08:30:40 2014 +0000 @@ -48,7 +48,7 @@ \param port The port to listen for incoming connections on. \return 0 on success, -1 on failure. */ - int bind(int port); + int bind(unsigned short port); /** Start listening for incoming connections. \param backlog number of pending connections that can be queued up at any @@ -61,7 +61,7 @@ \param connection A TCPSocketConnection instance that will handle the incoming connection. \return 0 on success, -1 on failure. */ - int accept(TCPSocketConnection& connection); + int accept(TCPSocketConnection *connection); }; #endif