NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
Christopher Haster
Date:
Thu Apr 21 18:33:39 2016 -0500
Parent:
118:96627c4b83d5
Child:
121:eaea4c1291c2
Commit message:
Fix issue with not passing interface through accept call

Changed in this revision

TCPServer.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TCPServer.cpp	Wed Apr 20 20:38:00 2016 -0500
+++ b/TCPServer.cpp	Thu Apr 21 18:33:39 2016 -0500
@@ -61,6 +61,7 @@
         void *socket;
         int err = _iface->socket_accept(&socket, _socket);
         if (!err) {
+            connection->_iface = _iface;
             connection->_socket = socket;
         }