The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

POE::Component::Server::Qotd - A POE component that implements an RFC 865 QotD server.

SYNOPSIS

 use POE::Component::Server::Qotd;

 my $self = POE::Component::Server::Qotd->spawn( 
        Alias => 'Chargen-Server',
        BindAddress => '127.0.0.1',
        BindPort => 7777,
        options => { trace => 1 },
 );

DESCRIPTION

POE::Component::Server::Chargen implements a RFC 865 http://www.faqs.org/rfcs/rfc865.html TCP/UDP QotD server, using POE. It is a class inherited from POE::Component::Server::Echo.

METHODS

spawn

Takes a number of optional values:

  "Alias", the kernel alias that this component is to be blessed with; 
  "BindAddress", the address on the local host to bind to, defaults to 
                 POE::Wheel::SocketFactory default; 
  "BindPort", the local port that we wish to listen on for requests, 
              defaults to 19 as per RFC, this will require "root" privs on UN*X; 
  "options", should be a hashref, containing the options for the component's session, 
             see POE::Session for more details on what this should contain; 
  "Quote", text to be sent to connecting clients, default quote is applied if this 
           is not supplied or is greater than 512 characters.

BUGS

Report any bugs through http://rt.cpan.org/.

AUTHOR

Chris 'BinGOs' Williams, <chris@bingosnet.co.uk>

SEE ALSO

POE

POE::Session

POE::Wheel::SocketFactory

POE::Component::Server::Echo

http://www.faqs.org/rfcs/rfc865.html