mirror of
https://github.com/boostorg/asio.git
synced 2026-01-27 18:42:07 +00:00
This flag for sendmsg(2) was standardised in POSIX.1-2008 so all systems that support at least that version should have it. This prevents unexpected SIGPIPEs on at least OpenBSD and possibly others. MSG_NOSIGNAL is used unconditionally on Linux to match existing behaviour and also because this was present on Linux long before standardisation.