How reliable is .NET TCP protocol?

后端 未结 5 1726
孤街浪徒
孤街浪徒 2021-01-06 01:14

I\'m quite new to C# so please bear with me. I\'m writing a relatively simple client server application in C# .NET 4.0. I am using TCP protocol, TCPListener and TCPClient to

5条回答
  •  被撕碎了的回忆
    2021-01-06 01:50

    With TCP/IP alone, you cannot determine whether any data is received - you would have to layer another protocol on top.

    If you can find out if some particular data was received, then TCP/IP guarantees all data before that was also received.

提交回复
热议问题