Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix on some versions of WINE, if you close the server while players a…
…re still connected, you get EADDRINUSE for next few minutes if you try to start server again This seems to happen because a socket is left in TIME_WAIT state, so workaround by this enabling SO_REUSEADDR. Except on Windows SO_REUSEADDR has different behaviour, so only apply the workaround when running on mono
- Loading branch information
1 parent
1d14560
commit 411f7f3
Showing
4 changed files
with
25 additions
and
5 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
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