Commit 3b7d744a authored by jan.koester's avatar jan.koester
Browse files

fixed api failure

parent e79a5476
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ namespace netplus {
            void          bind();
            void          listen();
            int           fd();
            tcp&          operator=(int socket);
            tcp&          operator=(SOCKET socket);

            int           getMaxconnections();
            
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ int netplus::tcp::fd(){
    return _Socket;
}

netplus::tcp& netplus::tcp::operator=(int sock){
netplus::tcp& netplus::tcp::operator=(SOCKET sock){
     _Socket=sock;
     return *this;
};