






















receive和read的区别:
basic_stream_socket::receive: Receive some data on the socket. 即收到一些数据就返回。也即会导致所谓的short reads and writes.
read: Attempt to read a certain amount of data from a stream before returning. 即收到指定的数据才返回。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。