checking if TcpClient received data

  • Thread starter Thread starter Nikola Skoric
  • Start date Start date
N

Nikola Skoric

Is there an event which could notify me when a TcpClient has something
to read? Or do I just have to do
while (!networkStream.DataAvailable) Thread.Sleep(50);
 

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