Loading src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ netplus::tcp::tcp(const char* addr, int port,int maxconnections,int sockopts) : rp->ai_protocol,nullptr, 0, WSA_FLAG_OVERLAPPED); if (_Socket == -1) continue; memcpy(&_SocketInfo,rp,sizeof(hints)); memcpy((struct addrinfo*)_SocketInfo,rp,sizeof(hints)); _SocketInfoLen = sizeof(hints); break; Loading Loading
src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ netplus::tcp::tcp(const char* addr, int port,int maxconnections,int sockopts) : rp->ai_protocol,nullptr, 0, WSA_FLAG_OVERLAPPED); if (_Socket == -1) continue; memcpy(&_SocketInfo,rp,sizeof(hints)); memcpy((struct addrinfo*)_SocketInfo,rp,sizeof(hints)); _SocketInfoLen = sizeof(hints); break; Loading