TcpClient connection state

  • Thread starter Thread starter David Dvali
  • Start date Start date
D

David Dvali

Hello.

I'm developing some project which requests persistent TCP connection to the
server.
I'm using TcpClient class for implementing this task and now I want to do
following:
I want to check if the connection is alive or if it's possible I want to do
the event on server disconnecting.
It will be nice if you will provide me with some example of source code.

Thank you.
 

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