|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
blocking?by Punto (Scribe) |
| on Jun 05, 2001 at 09:49 UTC ( [id://85761]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Punto has asked for the wisdom of the Perl Monks concerning the following question:
Hi. I have 2 questions about blocking:
Is there any way to accept a connection on a socket without blocking the program? I'm using accept() on an IO::Socket::UNIX, but I think that blocks the program. Is there any way to read data from a filehandle without blocking the program? I think I saw something about select(), but the reference on perlfunc is not clear (actually, it seems it doesn't have anything to do with it). Thanks..
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||