单向TCP和UDP有什么区别?

What is the difference between one-way TCP and UDP?

在 WCF 中,您可以创建单向 TCP 连接。这与 UDP 有何不同?

关于 WCF,[OperationContract(IsOneWay=true)] 意味着该方法不会阻塞,直到被调用方出现 response/acknowledgement。底层协议仍然是 TCP,具有所有不错的功能,如重试、错误检查等。

另见 MSDN example