« Previous | Next » 

Revision b0d32c6c

ID: b0d32c6c20cadaa544aeaa7b5257919674e8d0ad
Added by Don Ward about 3 years ago

Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)

SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so we
expect setsockopt to return ENOPROTOOPT (invalid option for
protocol) on Cygwin and MinGW. If it happens on any other system
it should probably be ignored there, too.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences