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.cpp
- Revision:
- 45:50d60753ade3
- Parent:
- 43:d80bbb12ffe6
- Child:
- 52:29b4d0adddf3
--- a/Socket/TCPSocketServer.cpp Fri Nov 14 00:52:31 2014 +0000 +++ b/Socket/TCPSocketServer.cpp Fri Jan 30 03:07:35 2015 +0000 @@ -156,7 +156,7 @@ return 0; } -int TCPSocketServer::accept(TCPSocketConnection *connection) +int TCPSocketServer::accept(TCPSocketConnection& connection) { C_SNIC_Core *snic_core_p = C_SNIC_Core::getInstance(); int i; @@ -172,7 +172,7 @@ && (con_info_p->parent_socket == mSocketID) ) { // Set socket id - connection->setAcceptSocket( i ); + connection.setAcceptSocket( i ); ret = 0; } }