forked from mirror/openmw-tes3mp
[Server] Use clearer error message when failing to bind port
This commit is contained in:
parent
3d40a162bc
commit
a3111fbcc1
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ int main(int argc, char *argv[])
|
|||
case RakNet::SOCKET_FAILED_TO_BIND:
|
||||
case RakNet::SOCKET_PORT_ALREADY_IN_USE:
|
||||
case RakNet::PORT_CANNOT_BE_ZERO:
|
||||
throw runtime_error("Failed to bind port");
|
||||
throw runtime_error("Failed to bind port. Make sure a server isn't already running on that port.");
|
||||
case RakNet::SOCKET_FAILED_TEST_SEND:
|
||||
case RakNet::SOCKET_FAMILY_NOT_SUPPORTED:
|
||||
case RakNet::FAILED_TO_CREATE_NETWORK_THREAD:
|
||||
|
|
Loading…
Reference in a new issue