Chris Evans <[EMAIL PROTECTED]> wrote:

> Well, in our own manpages

> man 7 socket

>        It is possible to do non-blocking IO on sockets by setting
>        the  O_NONBLOCK  flag  on  a  socket file descriptor using
>        fcntl(2).  O_NONBLOCK  is  inherited  through  an  accept.

Although accept(2) states the opposite:

       original  socket  s  is unaffected by this call. Note that
       any per file descriptor flags (everything that can be  set
       with  the F_SETFL fcntl, like non blocking or async state)
       are not inherited across a accept.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to