[Mono-bugs] [Bug 349688] SocketFlags.Partial is not implemented correctly in Linux

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 19 00:12:55 EST 2007


User andrew at ishiboo.com added comment

--- Comment #1 from Andrew Paprocki <andrew at ishiboo.com>  2007-12-18 22:12:55 MST ---
Windows information here:


"MSG_PARTIAL - Specifies that lpBuffers only contains a partial message. Be
aware that the error code WSAEOPNOTSUPP will be returned by transports that do
not support partial message transmissions."

"WSAEOPNOTSUPP - MSG_OOB was specified, but the socket is not stream-style such
as type SOCK_STREAM, OOB data is not supported in the communication domain
associated with this socket, MSG_PARTIAL is not supported, or the socket is
unidirectional and supports only receive operations."

It appears as if .NET *should* be throwing an exception if Partial is specified
on a UDP socket, because a partial write does not make sense. From my tests,
Partial is simply ignored.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list