Loading src/posix/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ void netplus::tcp::accept(socket *csock){ void netplus::tcp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketInfo), _SocketInfoLen) < 0){ if (::bind(_Socket,((const struct addrinfo*)_SocketInfo)->ai_addr , ((const struct addrinfo*)_SocketInfo)->ai_addrlen) < 0){ exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } Loading src/posix/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ void netplus::udp::accept(socket *csock){ void netplus::udp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketInfo), _SocketInfoLen) < 0){ if (::bind(_Socket,((const struct addrinfo*)_SocketInfo)->ai_addr , ((const struct addrinfo*)_SocketInfo)->ai_addrlen) < 0){ exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } Loading Loading
src/posix/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ void netplus::tcp::accept(socket *csock){ void netplus::tcp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketInfo), _SocketInfoLen) < 0){ if (::bind(_Socket,((const struct addrinfo*)_SocketInfo)->ai_addr , ((const struct addrinfo*)_SocketInfo)->ai_addrlen) < 0){ exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } Loading
src/posix/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ void netplus::udp::accept(socket *csock){ void netplus::udp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketInfo), _SocketInfoLen) < 0){ if (::bind(_Socket,((const struct addrinfo*)_SocketInfo)->ai_addr , ((const struct addrinfo*)_SocketInfo)->ai_addrlen) < 0){ exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } Loading