-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Display appropriate message on connect failure.
Previously, the "reject reason" would not be set if the server simply never responded to the connection attempt. So ensure that an error string of some kind is always set when NET_CL_Connect is called. As part of this, the handling for REJECTED packets has been moved to the client code; only the server only sends such packets, so it makes no sense for it to be in the common code.
- Loading branch information
Showing
2 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters