helo guys
i wrote a program (vb.net2005) for client- server communications using tcp/ip ,all are workin pretty well except one thing . when ever one new client is conected to server i ll display client ip and machine name on a grid. but i wont able to detect when a client is disconnected from a server

please provide some sample code for this

thx