Loading src/windows/tcp.cpp +1 −7 Changes for src/windows/tcp.cpp: 1 added line, 7 removed lines. Original line number Diff line number Diff line Loading @@ -240,13 +240,7 @@ size_t netplus::tcp::recvData(void* data, unsigned long size,int flags){ } } int rc = WSAWaitForMultipleEvents(1, &_Overlapped.hEvent, TRUE, INFINITE, TRUE); if (rc == WSA_WAIT_FAILED) { exception[NetException::Error] << "WSAWaitForMultipleEvents failed with error: " << WSAGetLastError(); throw exception; } rc = WSAGetOverlappedResult(_Socket, &_Overlapped, &dwBytes, FALSE, (LPDWORD) &flags); int rc = WSAGetOverlappedResult(_Socket, &_Overlapped, &dwBytes, FALSE, (LPDWORD) &flags); if (rc == FALSE) { exception[NetException::Error] << "WSARecv operation failed with error: "<< WSAGetLastError(); throw exception; Loading Loading
src/windows/tcp.cpp +1 −7 Changes for src/windows/tcp.cpp: 1 added line, 7 removed lines. Original line number Diff line number Diff line Loading @@ -240,13 +240,7 @@ size_t netplus::tcp::recvData(void* data, unsigned long size,int flags){ } } int rc = WSAWaitForMultipleEvents(1, &_Overlapped.hEvent, TRUE, INFINITE, TRUE); if (rc == WSA_WAIT_FAILED) { exception[NetException::Error] << "WSAWaitForMultipleEvents failed with error: " << WSAGetLastError(); throw exception; } rc = WSAGetOverlappedResult(_Socket, &_Overlapped, &dwBytes, FALSE, (LPDWORD) &flags); int rc = WSAGetOverlappedResult(_Socket, &_Overlapped, &dwBytes, FALSE, (LPDWORD) &flags); if (rc == FALSE) { exception[NetException::Error] << "WSARecv operation failed with error: "<< WSAGetLastError(); throw exception; Loading