diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-03-28 13:37:21 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-03-28 13:37:21 -0700 |
| commit | 7957ab6b1df2c5221d702d205397365fcbe93d98 (patch) | |
| tree | a6dcecfd1ed0ed438317d778de796bafb266cf7d /node/TcpSocket.cpp | |
| parent | e8b613e625d18a03d14073e4634cdfb64e120d38 (diff) | |
| download | infinitytier-7957ab6b1df2c5221d702d205397365fcbe93d98.tar.gz infinitytier-7957ab6b1df2c5221d702d205397365fcbe93d98.zip | |
Windows uses exceptfds to report failed async connect() in select(). TCP now done on Windows (I think).
Diffstat (limited to 'node/TcpSocket.cpp')
| -rw-r--r-- | node/TcpSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/TcpSocket.cpp b/node/TcpSocket.cpp index fd8e9a94..7dbcc4e1 100644 --- a/node/TcpSocket.cpp +++ b/node/TcpSocket.cpp @@ -59,9 +59,9 @@ TcpSocket::~TcpSocket() #else ::close(_sock); #endif - if (_outbuf) ::free(_outbuf); + //printf("!!! TCP SOCKET DESTROYED @%.16llx to %s\r\n",(unsigned long long)this,_remote.toString().c_str()); } bool TcpSocket::send(const InetAddress &to,const void *msg,unsigned int msglen) |
