.NET NetworkStream.EndWrite() bytes written

后端 未结 1 1143
死守一世寂寞
死守一世寂寞 2021-01-20 03:18

The MSDN documentation clearly states that:

After obtaining the NetworkStream, you can call the EndWrite method to successfully complete the send op

相关标签:
1条回答
  • 2021-01-20 03:34

    You are not missing anything, it is a doc bug. Probably induced by copy/pasting the EndRead article. Where it very much does matter. You already know how many bytes were written, all of them.

    0 讨论(0)
提交回复
热议问题