Christopher Haster / NetworkSocketAPI

Dependencies:   DnsQuery

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