4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 04:20:28 +08:00
Ken Brown 89ef52df63 Cygwin: poll(2): extend the socket code to all sockets
poll has code that checks whether a socket descriptor has a failed
connect or whether shutdown has been called.  This previously worked
only for wsock sockets.  Tweak the code so that it applies to all
sockets.

To help with this, add a virtual saw_shutdown_read method to the
fhandler_socket class, and define a version of it for AF_UNIX sockets.
A version for wsock sockets already existed.

Untested.
2020-12-29 11:36:16 -05:00
..
2020-11-21 08:01:09 -05:00
2020-11-21 08:01:09 -05:00
2016-05-24 10:25:18 +02:00

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at https://cygwin.com
You might especially be interested in

https://cygwin.com/faq/faq.html#faq.programming.building-cygwin