This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hmmm... but if it's really the size of the sockname argument which is causing the accept() to fail, this would be a bug in cygwin's accept() implementation, as it's supposed to truncate the data written to the sockname, rather than fail if it won't fit [1]. If that actually is the case, since we don't actually use the peer address here, the code as stands is correct (if a little odd).
I suppose I need to write a small test case to look at this...
[1] http://www.opengroup.org/onlinepubs/009695399/functions/accept.html
Attachment:
connector.c
Description: Text document
Attachment:
listener.c
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |