How to deal with event timeout?
Ryan Chan <[email protected]> Mon, 22 Mar 2010 22:00:27 +0800
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
For example, I am using POE::Component::Client::NNTP http://search.cpan.org/~bingos/POE-Component-Client-NNTP-2.14/lib/POE/Component/Client/NNTP.pm This module does not specify any timeout, so sometimes my program seems hanged and does not response. Is it possible to specify a timeout or lifetime for the event, so it will quit when reached the specified time?