Subject: Re: sendto() and ENOBUFS question..
To: None <sudog@telus.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 05/15/2002 17:50:36
On Wed, May 15, 2002 at 12:41:05AM -0700, sudog@telus.net wrote:
> Then the select check for writeable status on the SOCK_DGRAM is
> meaningless in its current form. In that case, maybe it should either
> fail with an error message (something else than is listed in the
> manpage) or be modified to clearly indicate the path is reliable down
> to the network interface at that particular moment. I guess that would

To *which* network interface ? Your ENOBUF may comes from the interface
mbuf queue which has reached its high limit (and I'm 99% sure it comes from
here).
As a UDP socket is not connected, we know to which interface to pass the
packet only once we have the data (or at last the packet header).

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--