How to detect a remote socket termination?

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

I have my socket program working...I can send & receive data, I can
terminate the connection, etc.

But I can't figure out how to tell if the remote client has disconnected. I
tried using Socket.Connected but it continues to return TRUE even when the
remote client has closed the connection.

Please help!

Thanks,
Terry
 
Ok where is it? I have searched this group and can't find any other
reference to this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top