| IO-Mux documentation | view source | Contained in the IO-Mux distribution. |
IO::Mux::Service::TCP - TCP (socket) based service
IO::Mux::Service::TCP is a IO::Mux::Handler::Service is a IO::Mux::Handler IO::Mux::Service::TCP is extended by IO::Mux::HTTP::Server
Accept TCP connections. When a connection arrives, it will get handled by a new object which gets added to the multiplexer as well.
-Option --Defined in --Default conn_opts [] conn_type <required> fh IO::Mux::Handler <required> name IO::Mux::Handler 'listen tcp $host:$port'
Pass some extra options when objects of conn_type are created.
The CLASS (package name) of client to be created for each new contact. This CLASS must extend IO::Mux::Net::TCP. You may also provide a CODE reference which will be called with the socket leading to the client.
This module is part of IO-Mux distribution version 0.11, built on January 26, 2011. Website: http://perl.overmeer.net/ All modules in this suite: Any::Daemon, IO::Mux, and IO::Mux::HTTP.
Please post questions or ideas to perl@overmeer.net
Copyrights 2011 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
| IO-Mux documentation | view source | Contained in the IO-Mux distribution. |