Don't ask to ask, just ask | |
PerlMonks |
Re: How do I do a non-blocking accept?by davidnicol (Acolyte) |
on Aug 22, 2004 at 04:48 UTC ( [id://384884]=note: print w/replies, xml ) | Need Help?? |
you have to set the listening socket to nonblocking,
as documented in the man page for accept. This
can be done with fcntl rather than setsockopt.
As explained above here at How do I do a non-blocking accept?.
In Section
Seekers of Perl Wisdom
|
|