wip
Dependents: EthernetInterface_vz
Fork of Socket by
Diff: TCPSocketServer.cpp
- Revision:
- 11:3d83c348fb8b
- Parent:
- 10:d24738f4ef99
- Child:
- 15:41e3af01f58e
diff -r d24738f4ef99 -r 3d83c348fb8b TCPSocketServer.cpp --- a/TCPSocketServer.cpp Tue Jul 31 11:50:55 2012 +0000 +++ b/TCPSocketServer.cpp Wed Aug 01 13:02:32 2012 +0000 @@ -71,10 +71,7 @@ if (fd < 0) return -1; //Accept failed connection._sock_fd = fd; + connection._is_connected = true; return 0; } - -TCPSocketServer::~TCPSocketServer() { - close(); //Don't want to leak -}