Loading src/linux/socket.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ netplus::socket *netplus::udp::accept(){ void netplus::udp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketPtr), sizeof(struct sockaddr)) < 0){ exception[NetException::Error] << "Can't bind Server UnixSocket"; exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } } Loading Loading @@ -453,7 +453,7 @@ netplus::socket *netplus::ssl::accept(){ void netplus::ssl::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketPtr), sizeof(struct sockaddr)) < 0){ exception[NetException::Error] << "Can't bind Server UnixSocket"; exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } } Loading Loading
src/linux/socket.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ netplus::socket *netplus::udp::accept(){ void netplus::udp::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketPtr), sizeof(struct sockaddr)) < 0){ exception[NetException::Error] << "Can't bind Server UnixSocket"; exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } } Loading Loading @@ -453,7 +453,7 @@ netplus::socket *netplus::ssl::accept(){ void netplus::ssl::bind(){ NetException exception; if (::bind(_Socket,((const struct sockaddr *)_SocketPtr), sizeof(struct sockaddr)) < 0){ exception[NetException::Error] << "Can't bind Server UnixSocket"; exception[NetException::Error] << "Can't bind Server Socket"; throw exception; } } Loading