in reply to Timeouts when reading from socket Filehandles?
Read up on select() and have a look at IO::Select. In particular, have a look at the IO::Select's can_read() method. It will do what you want. You just have to specify a timeout.
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Timeouts when reading from socket Filehandles?
by Helter (Chaplain) on Aug 27, 2002 at 11:17 UTC | |
by tadman (Prior) on Aug 27, 2002 at 12:34 UTC |