SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface 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
muRata

Murata TypeYD