summaryrefslogtreecommitdiff
path: root/node/TcpSocket.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-03-28 13:37:21 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-03-28 13:37:21 -0700
commit7957ab6b1df2c5221d702d205397365fcbe93d98 (patch)
treea6dcecfd1ed0ed438317d778de796bafb266cf7d /node/TcpSocket.hpp
parente8b613e625d18a03d14073e4634cdfb64e120d38 (diff)
downloadinfinitytier-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.hpp')
-rw-r--r--node/TcpSocket.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/node/TcpSocket.hpp b/node/TcpSocket.hpp
index 0c24808d..ea2b0ddf 100644
--- a/node/TcpSocket.hpp
+++ b/node/TcpSocket.hpp
@@ -83,7 +83,10 @@ protected:
_outbufsize(0),
_inptr(0),
_connecting(c),
- _remote(r) {}
+ _remote(r)
+ {
+ //printf("!!! TCP SOCKET CREATED @%.16llx to %s\r\n",(unsigned long long)this,_remote.toString().c_str());
+ }
virtual bool notifyAvailableForRead(const SharedPtr<Socket> &self,SocketManager *sm);
virtual bool notifyAvailableForWrite(const SharedPtr<Socket> &self,SocketManager *sm);