Loading src/windows/tcp.cpp +2 −2 Changes for src/windows/tcp.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -209,14 +209,14 @@ size_t netplus::tcp::sendData(void* data, unsigned long size,int flags){ int etype = NetException::Error; if (lerror == WSA_IO_PENDING) { return dwBytes; return 0; } exception[etype] << "Socket senddata failed on Socket: " << (int) _Socket << " ErrorMsg: " << lerror; throw exception; } return (size_t) dwBytes; return (size_t)rval; } size_t netplus::tcp::recvData(void* data, unsigned long size,int flags){ Loading Loading
src/windows/tcp.cpp +2 −2 Changes for src/windows/tcp.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -209,14 +209,14 @@ size_t netplus::tcp::sendData(void* data, unsigned long size,int flags){ int etype = NetException::Error; if (lerror == WSA_IO_PENDING) { return dwBytes; return 0; } exception[etype] << "Socket senddata failed on Socket: " << (int) _Socket << " ErrorMsg: " << lerror; throw exception; } return (size_t) dwBytes; return (size_t)rval; } size_t netplus::tcp::recvData(void* data, unsigned long size,int flags){ Loading