Connecting Tech Pros Worldwide Forums | Help | Site Map

Check if client Socket is Disconnected

dream machine
Guest
 
Posts: n/a
#1: Nov 13 '05
Hi all ,
when my client try to connect on my server , the ACCEPT method return the new Socket Connected.

My problem is that i haven't found any Methods of * socket class * that allow my to
listern When any client disconnect from server .

I can loop for every client connected and test the .Connected property :
but it is really poor way.

Now , I think that the best way is send 1 byte at client and test the .Connected property .

Is correct ?

Dream machine



Closed Thread