Passing 0 to accept(2) as second and third argument.
Oliver Laumann
net at tub.UUCP
Tue Sep 19 19:26:20 AEST 1989
In article <7936 at cbmvax.UUCP> ag at cbmvax.UUCP (Keith Gabryelski) writes:
> while (accept(s, 0, 0) < 0) {
>
> I am wondering if this is actually considered a feature [..]
It's an undocumented feature of at least 4.3 BSD. By the way, the call to
accept() should probably read "accept(s, (struct sockaddr *)0, (int *)0)".
--
Oliver Laumann net at TUB.BITNET net at tub.UUCP
More information about the Comp.unix.wizards
mailing list