Users - Networking - TCP

Hi
I have a client-server made with Panda Networking (using TCP) system, my question is:
how to know when a user is disconnected from the server?
Thank you!

With tcp, when the socket closes or times out.