Loading src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ void netplus::tcp::accept(socket *csock){ ((struct addrinfo *)(csock->_SocketInfo))->ai_addrlen=((struct addrinfo *)(_SocketInfo))->ai_addrlen; csock->_Socket=::WSAAccept(_Socket, ((struct addrinfo*)csock->_SocketInfo)->ai_addr, (LPINT)((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); (LPINT)&((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); if(csock->_Socket==SOCKET_ERROR){ int etype=NetException::Error; if(GetLastError() ==WSA_IO_PENDING) Loading src/windows/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ void netplus::udp::accept(socket* csock) { ((struct addrinfo *)(csock->_SocketInfo))->ai_addrlen=((struct addrinfo *)(_SocketInfo))->ai_addrlen; csock->_Socket = ::WSAAccept(_Socket, ((struct addrinfo*)csock->_SocketInfo)->ai_addr, (LPINT)((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); (LPINT)&((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); if (csock->_Socket == SOCKET_ERROR) { int etype = NetException::Error; if (GetLastError() == WSA_IO_PENDING) Loading Loading
src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ void netplus::tcp::accept(socket *csock){ ((struct addrinfo *)(csock->_SocketInfo))->ai_addrlen=((struct addrinfo *)(_SocketInfo))->ai_addrlen; csock->_Socket=::WSAAccept(_Socket, ((struct addrinfo*)csock->_SocketInfo)->ai_addr, (LPINT)((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); (LPINT)&((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); if(csock->_Socket==SOCKET_ERROR){ int etype=NetException::Error; if(GetLastError() ==WSA_IO_PENDING) Loading
src/windows/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ void netplus::udp::accept(socket* csock) { ((struct addrinfo *)(csock->_SocketInfo))->ai_addrlen=((struct addrinfo *)(_SocketInfo))->ai_addrlen; csock->_Socket = ::WSAAccept(_Socket, ((struct addrinfo*)csock->_SocketInfo)->ai_addr, (LPINT)((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); (LPINT)&((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0); if (csock->_Socket == SOCKET_ERROR) { int etype = NetException::Error; if (GetLastError() == WSA_IO_PENDING) Loading