Windows uses exceptfds to report failed async connect() in select(). TCP now done on Windows (I think).

This commit is contained in:
Adam Ierymenko 2014-03-28 13:37:21 -07:00
parent e8b613e625
commit 7957ab6b1d
3 changed files with 20 additions and 2 deletions

View file

@ -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)