r3279: Removed MSG_DONTWAIT flags as many platform don't have it.
authorAndrew Tridgell <tridge@samba.org>
Wed, 27 Oct 2004 03:45:35 +0000 (03:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:49 +0000 (13:04 -0500)
commit1f6fd130a35e4068ac7caa164b89516319c3d276
treeb85b33c7b22e8873846859a503298465cdc2e709
parent9d055846f225bea4953822f40fab1d2f1a2e2d07
r3279: Removed MSG_DONTWAIT flags as many platform don't have it.

If a socket is non-blocking then adding MSG_DONTWAIT is pointless (it
does nothing), so all we lose is the ability to set non-blocking on a
packet-by-packet basis, which is not a very useful thing to have
anyway

if the socket is blocking then the code already adds MSG_WAITALL, so
MSG_DONTWAIT is also not needed in that case.
(This used to be commit b8a2afae67691a609b4a7a577fee3f9518adc9d2)
source4/lib/socket/socket_ipv4.c
source4/lib/socket/socket_unix.c