Loading src/posix/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ void netplus::udp::listen(){ } } int netplus::udp::fd(){ SOCKET netplus::udp::fd(){ return _Socket; } Loading src/socket.h +4 −4 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ namespace netplus { virtual void getAddress(std::string &addr)=0; virtual int fd()=0; virtual SOCKET fd()=0; virtual socket& operator=(SOCKET sock)=0; Loading Loading @@ -91,7 +91,7 @@ namespace netplus { void accept(socket *ssock); void bind(); void listen(); int fd(); SOCKET fd(); tcp& operator=(SOCKET socket); int getMaxconnections(); Loading Loading @@ -124,7 +124,7 @@ namespace netplus { void accept(socket * ssock); void bind(); void listen(); int fd(); SOCKET fd(); udp& operator=(int socket); int getMaxconnections(); Loading Loading @@ -156,7 +156,7 @@ namespace netplus { void accept(socket *ssock); void bind(); void listen(); int fd(); SOCKET fd(); ssl& operator=(int socket); int getMaxconnections(); Loading src/ssl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ netplus::ssl& netplus::ssl::operator=(int sock){ return *this; }; int netplus::ssl::fd(){ SOCKET netplus::ssl::fd(){ return -1; } Loading src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ void netplus::tcp::listen(){ } } int netplus::tcp::fd(){ SOCKET netplus::tcp::fd(){ return _Socket; } Loading src/windows/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ void netplus::udp::listen(){ } } int netplus::udp::fd(){ SOCKET netplus::udp::fd(){ return _Socket; } Loading Loading
src/posix/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ void netplus::udp::listen(){ } } int netplus::udp::fd(){ SOCKET netplus::udp::fd(){ return _Socket; } Loading
src/socket.h +4 −4 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ namespace netplus { virtual void getAddress(std::string &addr)=0; virtual int fd()=0; virtual SOCKET fd()=0; virtual socket& operator=(SOCKET sock)=0; Loading Loading @@ -91,7 +91,7 @@ namespace netplus { void accept(socket *ssock); void bind(); void listen(); int fd(); SOCKET fd(); tcp& operator=(SOCKET socket); int getMaxconnections(); Loading Loading @@ -124,7 +124,7 @@ namespace netplus { void accept(socket * ssock); void bind(); void listen(); int fd(); SOCKET fd(); udp& operator=(int socket); int getMaxconnections(); Loading Loading @@ -156,7 +156,7 @@ namespace netplus { void accept(socket *ssock); void bind(); void listen(); int fd(); SOCKET fd(); ssl& operator=(int socket); int getMaxconnections(); Loading
src/ssl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ netplus::ssl& netplus::ssl::operator=(int sock){ return *this; }; int netplus::ssl::fd(){ SOCKET netplus::ssl::fd(){ return -1; } Loading
src/windows/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ void netplus::tcp::listen(){ } } int netplus::tcp::fd(){ SOCKET netplus::tcp::fd(){ return _Socket; } Loading
src/windows/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ void netplus::udp::listen(){ } } int netplus::udp::fd(){ SOCKET netplus::udp::fd(){ return _Socket; } Loading