Kill socket after x seconds
Posted: Fri Feb 07, 2020 7:22 pm
Dear all,
we are communicating with clients over socket via
and
Now, if a client fails, or an attacker makes 10000000 sessions
or whatever the socket is multiple times open... Is there a possibility to kill the idle sockets after 5 seconds? Or can I set a Timeout?
Thanks
Stef
we are communicating with clients over socket via
Code: Select all
accept connections on port 9999 with message blablabla
and
Code: Select all
read from socket xzy until

Thanks
Stef