Windows uses exceptfds to report failed async connect() in select(). TCP now done on Windows (I think).
This commit is contained in:
parent
e8b613e625
commit
7957ab6b1d
3 changed files with 20 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue