NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
92:dd5f19874adf
Parent:
90:0a988e4abb72
Child:
93:65a9f84862f0
--- a/TCPServer.cpp	Tue Apr 19 18:23:12 2016 -0500
+++ b/TCPServer.cpp	Tue Apr 19 18:23:29 2016 -0500
@@ -76,22 +76,3 @@
         }
     }
 }
-
-
-void TCPServer::attach_accept(FunctionPointer callback)
-{
-    _accept_cb = callback;
-
-    if (_socket && _accept_cb) {
-        return _iface->socket_attach_accept(_socket, Socket::thunk, &_accept_cb);
-    } else if (_socket) {
-        return _iface->socket_attach_accept(_socket, 0, 0);
-    }
-}
-
-TCPServer::~TCPServer()
-{
-    if (_socket && _accept_cb) {
-        _iface->socket_attach_accept(_socket, 0, 0);
-    }
-}