Author image David Robins
and 1 contributors

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>