Losing connection (DOS/DDOS attack) causes the server to lag/freeze (WebSockets/SocketListener.cs (SocketClosed method))
Whenever the connection is lost 2 messages are printed to console and new connection attempt is made = huge console spam = 1 fps whole time
Maybe adding some sort of delay before trying to reconnect may be a good idea
Losing connection (DOS/DDOS attack) causes the server to lag/freeze (WebSockets/SocketListener.cs (SocketClosed method))
Whenever the connection is lost 2 messages are printed to console and new connection attempt is made = huge console spam = 1 fps whole time
Maybe adding some sort of delay before trying to reconnect may be a good idea