[Asterisk-Dev] Re: EAGAIN rtp.c

Chris Stenton jacs at gnome.co.uk
Tue Jul 13 01:30:16 MST 2004


On Tue, 2004-07-13 at 06:18, James H. Cloos Jr. wrote:
> >>>>> "Wolfgang" == Wolfgang S Rupprecht <list+asterisk-dev at lists.wsrcc.com> writes:
> 
> Wolfgang> Under unix and bsd EAGAIN simply means someone set the
> Wolfgang> socket to non-blocking and proceeded to read the socket
> Wolfgang> before any data arrived.
> 
> As kram told me: read the linux's udp.c.  It returns an EAGAIN when
> there is a checksum error.
> 

Well I would say that Linux udp.c returns the wrong error code. EAGAIN
has always meant 	/* Resource temporarily unavailable */

Chris





More information about the asterisk-dev mailing list