Download AnyEvent::Handle 6.02


AnyEvent::Handle - non-blocking I/O on streaming handles via AnyEvent
AnyEvent::Handle
Developer : Marc Lehmann
Size : 0.26Mb
OS : Linux
Requirements : No special requirements.
License : Freeware
Click here to download




AnyEvent::Handle - non-blocking I/O on streaming handles via AnyEventThis is a helper module to make it easier to do event-based I/O on stream-based filehandles (sockets, pipes, and other stream things).The AnyEvent::Intro tutorial contains some well-documented AnyEvent::Handle examples.In the following, where the documentation refers to "bytes", it means characters. As sysread and syswrite are used for all I/O, their treatment of characters applies to this module as well.At the very minimum, you should specify fh or connect, and the on_error callback.All callbacks will be invoked with the handle object as their first argument.