Re: sendto call on a UDP socket gives ECONNREFUSED

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Feb 27 2000 - 11:12:12 EST


> The sento call succeeds if we have a receiving socket on the remote end i.e. at
> port 4000.
> Since it as a UDP socket sendto must not fail even if the remote end does not
> exist also the error its giving seems to be quite irrelevant.

RFC1122 requires error notification is available. You asynchronously get
notified that this port is not open.

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/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:17 EST