mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-21 18:55:17 +00:00
122a3cd80d
Make and use a copy of the RemoteEndPoint at the start of the HandleSocket method.
Because in some cases when the socket is disposed, the RemoteEndPoint inside of it is cleared and isn't available for the following disconnect log entries.
Also: port scanners on the internet don't introduce themselves with a name and ID.
(cherry picked from commit
|
||
---|---|---|
.. | ||
Client.cs | ||
CommandHandler.cs | ||
DiscordBot.cs | ||
FlipOptions.cs | ||
Program.cs | ||
Server.cs | ||
Server.csproj | ||
Settings.cs | ||
Time.cs |