Commit bcfee392 authored by jan.koester's avatar jan.koester
Browse files

change

parent 0e871abe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -109,7 +109,8 @@ netplus::con::con(){
    state=0;
}

netplus::con::con(eventapi *eapi) : con(){
netplus::con::con(eventapi *eapi) {
    state = 0;
    _eventapi=eapi;
}

+4 −3
Original line number Diff line number Diff line
@@ -172,9 +172,10 @@ RECONNECT:
                    if ( WSA_IO_PENDING == WSAGetLastError() || WSAEWOULDBLOCK == WSAGetLastError() ) {
                        goto RECONNECT;
                    }
                    RemoveFromClientList(pClientContext);
                    NetException e;
                    e[NetException::Error] << "AcceptConnection Failed: " << WSAGetLastError();
                    e[NetException::Error] << "AcceptConnection Failed on: " << (int) pClientContext->CurCon->csock->fd()
                                           << "Error: " << WSAGetLastError();
                    RemoveFromClientList(pClientContext);
                    throw e;
                }