Commit 7568d11d authored by jan.koester's avatar jan.koester
Browse files

test

parent 1758d5bc
Loading
Loading
Loading
Loading
+1517 −5

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ void netplus::tcp::accept(std::unique_ptr <socket> &csock) {

    csock->_Socket = ::WSAAccept(_Socket, ((struct addrinfo*)csock->_SocketInfo)->ai_addr,
        (LPINT) & ((struct addrinfo*)csock->_SocketInfo)->ai_addrlen, nullptr, 0);
    if (csock->_Socket == SOCKET_ERROR) {
    if (csock->_Socket == INVALID_SOCKET) {
        int etype = NetException::Error;
        if (GetLastError() == WSA_IO_PENDING)
            etype = NetException::Note;