[Mono-dev] Can a TCP Socket SendAsync operation complete without transferring all the bytes in a BufferList?

Sotirios Delimanolis sotodel_89 at yahoo.com
Fri Jan 27 18:58:03 UTC 2017


Hi,
I asked this question on Stack Overflow in regards to the specification. 
In Mono 3.12 (under Red Hat 6), a call to SendAsync with a SocketEventAsyncArgs that was using a BufferList completed with SocketError.Success but an incomplete BytesTransferred. Is this behaviour acceptable under the .Net specification? 
Windows' implementation seems to guarantee that all bytes are sent before the Completed event is raised on the SocketEventAsyncArgs.
So which (both?) is correct?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170127/2cd69ad7/attachment.html>


More information about the Mono-devel-list mailing list