Re: ECONNREFUSED in recvfrom ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 13 Oct 1998 16:22:52 +0100 (BST)


> refused wasn't an option. On the glibc info pages, "recvfrom" doesn't
> have documented return codes and "recv" doesn't offer connection refused
> as an error code. Either libc5 and glibc documentation is broken or the
> kernel is returning an invalid error code - what does POSIX have to say?

POSIX doesn't have to say. 1003.1g is still unfinished and has fundamental
design flaws that even though I have pointed them out to the listed contacts
have not been resolved as far as I know. In paticular the bind() function
is assumed to be atomic. Name binding is not atomic for all protocols.

The man pages are a valid point. Andi Kleen is working on an update for
these including notes on all the new 2.1.x features, I'm sure he would
appreciate help.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/