By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,335 Members | 1,310 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,335 IT Pros & Developers. It's quick & easy.

Check if client Socket is Disconnected

P: n/a
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
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.