Loading src/socket.h +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ namespace netplus { void bind(); void listen(); int fd(); tcp& operator=(int socket); tcp& operator=(SOCKET socket); int getMaxconnections(); Loading src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; }; Loading Loading
src/socket.h +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ namespace netplus { void bind(); void listen(); int fd(); tcp& operator=(int socket); tcp& operator=(SOCKET socket); int getMaxconnections(); Loading
src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; }; Loading