Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #36 from klickverbot/socket-nosigpipe
Browse files Browse the repository at this point in the history
Added non-standard SO_NOSIGPIPE socket option.
  • Loading branch information
andralex committed Jul 3, 2011
2 parents ac6d7ba + eebc15e commit d9d340b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/sys/posix/sys/socket.d
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ else version( OSX )
SO_ERROR = 0x1007,
SO_KEEPALIVE = 0x0008,
SO_LINGER = 0x1080,
SO_NOSIGPIPE = 0x1022, // non-standard
SO_OOBINLINE = 0x0100,
SO_RCVBUF = 0x1002,
SO_RCVLOWAT = 0x1004,
Expand Down Expand Up @@ -548,6 +549,7 @@ else version( FreeBSD )
SO_ERROR = 0x1007,
SO_KEEPALIVE = 0x0008,
SO_LINGER = 0x0080,
SO_NOSIGPIPE = 0x0800, // non-standard
SO_OOBINLINE = 0x0100,
SO_RCVBUF = 0x1002,
SO_RCVLOWAT = 0x1004,
Expand Down

0 comments on commit d9d340b

Please sign in to comment.