How to determine if a TcpClient has been closed?

  • Thread starter Thread starter Galore
  • Start date Start date
G

Galore

Hello!

I have two TcpClients changing data across a network, throught a
NetworkStream. I wanna raise an event when one of these TcpClients closes
the communication, how can I determine if this happened?

Thanks
 

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