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

fixed

parent 89e41701
Loading
Loading
Loading
Loading
+3
Changes for src/windows/tcp.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -52,6 +52,9 @@ netplus::tcp::tcp(const char* addr, int port,int maxconnections,int sockopts) :
    NetException exception;
    _Maxconnections=maxconnections;

    if (sockopts == -1)
        sockopts = SO_REUSEADDR;

    struct addrinfo hints,*result,*rp;

    memset(&hints, 0, sizeof(hints));