阅读背景:

如何以编程方式处理telnet连接的延迟?

来源:互联网 

I utilize TcpClient class to implement a telnet connection. What I don't know is how to determine the end of response. It seems that once DataAvailable property is true, I read the data from Stream and DataAvailable is then temporarily set to false while buffer is being filled with another chunk of data but I think is all read and go away. How do I ensure that all response was read?I utilize TcpClient class to implement a telnet




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: