Throw runtime exception if cannot bind socket
If we exhaust the list of addrinfo candidates, it means something went wrong when trying to bind the socket. In that case, we are sending a runtime exception with the current errno value.
Showing
Please register or sign in to comment