Receiving and sending data in C#

前端 未结 2 1170
面向向阳花
面向向阳花 2021-02-09 20:52

I\'m still trying to improve a little bit what I wrote before. Now I faced a problem with receiving data. I have a program which I use to send string using tcpClient to a progr

2条回答
  •  滥情空心
    2021-02-09 21:32

    Ensure that the data actually exists on the stream before chasing ghosts. If there is ALWAYS data we can approach the problem, however looking at it logically it appears as though the stream is either being nulled out or there is just no data on it.

提交回复
热议问题