Thursday 1 October 2020

Noob question about ECONNRESET and error handling in general

Hi I‘m new to this, but I‘ve built a gameserver with Node and it works pretty well so far. Now all of a sudden my script crashes whenever I close the TCP connection on the client‘s side. Sending a request to the server to close the connection server sided works, but what if a client crashes (Alt+F4)?How do I find the mistake in my code? What do I need to change so that the server ignores disconnecting clients? VS outputs a bunch of code into the console and I dunno what to do with it. I‘m completely lost...

Submitted October 01, 2020 at 09:14PM by Deep-Gate

No comments:

Post a Comment