Punto has asked for the wisdom of the Perl Monks concerning the following question:
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..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: blocking?
by jeroenes (Priest) on Jun 05, 2001 at 13:54 UTC | |
|
(tye)Re: blocking?
by tye (Sage) on Jun 05, 2001 at 19:07 UTC | |
|
(dws)Re: blocking?
by dws (Chancellor) on Jun 05, 2001 at 22:38 UTC |