Subject: Re: sendto() and ENOBUFS question..
To: David Laight <david@l8s.co.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 05/15/2002 21:18:16
On Wed, May 15, 2002 at 07:05:10PM +0100, David Laight wrote:
> I would say that UDP should block (or return EAGAIN) before it
> starts failing ENOBUFS...
It can't because it doesn't know before it has the data to send (because
the data path is dependant on data value with UDP).
the send() could eventually block on resources shortage, but select() has
no ways to work as you expect with UDP.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--