<<On Thu, 18 Jan 2001 11:34:54 +0000, Ben Smithurst <[EMAIL PROTECTED]> said:

> Does this look reasonable to people?  Based on
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24125

> +.It Bq Er EAGAIN
> +A resource was temporarily unavailable.
> +This could indicate there are no port numbers available for use when a port
> +number is being chosen automatically.

If this is the actual error being returned, then the code is wrong.
The correct (as defined in XNSv4.2 and POSIX.1-200x) error is
[EADDRNOTAVAIL].  (The definition of bind() reinforces this
requirement.)

[EAGAIN] is equivalent to the traditional BSD [EWOULDBLOCK], and might
be used for connects in non-blocking mode.  The new specification
requires [EINPROGRESS] as the return value for a non-blocking connect,
and [EALREADY] for connect on an already-connected socket.

-GAWollman



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to