is it possible to know if a client connection is lost?
However the client, when quit send a message to the server, it may that the client crashes… in this case, how to know, on the server side, that the connection to the client is down?
you mean socks communication? just try to send a message and if you get an exception the connection is obviously lost. (this only works with tcp not udp)
if its about crashing because of the exception, try:
try:
the code which sometimes throws an exception
except:
what to do if there is an exception