Don't try to enable dual stack for IPv4 TCP sockets

When connecting via TCP, C4NetIO still creates IPv4 sockets, so no dual
stack option is required.
ipv6
Lukas Werling 2017-01-13 23:03:50 +01:00
parent 7411e458a0
commit 6addce2f95
1 changed files with 0 additions and 3 deletions

View File

@ -1108,9 +1108,6 @@ bool C4NetIOTCP::Connect(const C4NetIO::addr_t &addr) // (mt-safe)
return false;
}
if (!EnableDualStack(nsock))
return false;
#ifdef STDSCHEDULER_USE_EVENTS
// set event
if (::WSAEventSelect(nsock, Event, FD_CONNECT) == SOCKET_ERROR)