David Robins > Event-IO > Event::IO::Server

Download:
Event-IO-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Event::IO::Server - general listener class, spawns client connections

METHODS ^

new ( named parameters... )

spawn

Class for new connection objects, should inherit from Event::IO::Linear.

handle

IO::Socket handle for listener (should be ::INET or ::UNIX; it's a good idea to set ReuseAddr for INET clients).

data

Optional parameter, passed to child init_event.

data

Get/set data parameter to pass to init_event (can also set in new).

client_event

Called when we get a new client (select 'read' event).

AUTHOR ^

David B. Robins <dbrobins@davidrobins.net>

syntax highlighting: