bug: cygwin-devel v3.0.2-1 socket.h does not #define MSG_EOR per the POSIX standard

Hans-Bernhard Bröker HBBroeker@t-online.de
Thu Apr 25 18:36:00 GMT 2019


Am 25.04.2019 um 17:48 schrieb Eric Blake:
> On 4/25/19 10:28 AM, Brian Inglis wrote:

>> Would it be allowed and valid to #define MSG_EOR 0 to simplify lack of support?
> 
> No, because that implies that EVERY send() call is requesting MSG_EOR
> and that it never fails. 

And maybe more importantly, it's explicitly required to be non-zero.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list