|

楼主 |
发表于 2012-2-1 10:23:00
|
显示全部楼层
Re:[IOCP]关于WSASend的问题。。
已解决.
答案:
If the socket is non-blocking and stream-oriented, and there is not sufficient space in the transport's buffer, WSASend will return with only part of the application's buffers having been consumed.
(参考:http://blog.csdn.net/zy100/article/details/6205204)
即,非阻塞模式下,WSASend不保证一次发完所有数据 |
|