timeouts in Handle
gleeco
gleeco at gmail.com
Thu Dec 16 17:26:54 CET 2010
i'm looking to limit my handles on a socket for reads and writes.
Assume i have a long-running socket conn that i'd like to keep open,
but want to put each request under a timeout limit. In the docs, i see
wtimeout and rtimeout and am wondering:
* OK to fire off another write (eg. request to remote) after the
timeout cb occurs?
* what happens to the data that the remote socket sends after the
rtimeout? Does the AE kernel discard this?
* are there some examples / modules where clients put the handle on time limits?
--thanks in advance,
-gleeco
More information about the anyevent
mailing list