]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update udpzerobyte to understand that passing 0 as a length to recv(2)
authorrwatson <rwatson@FreeBSD.org>
Tue, 7 Oct 2008 21:01:23 +0000 (21:01 +0000)
committerrwatson <rwatson@FreeBSD.org>
Tue, 7 Oct 2008 21:01:23 +0000 (21:01 +0000)
commitb2babfa5399a4b71cf52fbe56571ef9d57dac3b2
tree872f4a14e26a634516693d13bf46f34359abc038
parent72d39e41ec777721989c7379d5f818640e504e2f
Update udpzerobyte to understand that passing 0 as a length to recv(2)
will cause it to return 0, not EAGAIN.

Add UNIX domain socket support to udpzerobyte, which suggests this
regression test should be moved to the general sockets test area rather
than netinet.
tools/regression/netinet/udpzerobyte/udpzerobyte.c