tags:

views:

5

answers:

0

Hi

I use TcpClient to interact with the server. Ssl stream was built on the stream received from TcpClient.GetStream(). I need to check are there some data to read. To do this I use method Socket.Poll.

Everything fine with fist line, but then Poll always saids that no data available to read, although stream.Read returns a valid data.

What I'm doing wrong?