Darkgot
Member
Hi, I have a server running that accept TCP connections for my game. I have connections that are not coming from my game and they are generating errors that crash my server. even if after the connection I request a password or a confirmation key or what ever if it's not coming from my game the answer will be the wrong format and will result in an error generated by the server and the server will crash.
How do you fix that? is there a way to bypass the first format error so by that being abbe to put the socket of that connection into a black list to avoid communicating with it?
How do you fix that? is there a way to bypass the first format error so by that being abbe to put the socket of that connection into a black list to avoid communicating with it?