POE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTP
use POE::Component::Server::SimpleHTTP::Connection; my $connection = POE::Component::Server::SimpleHTTP::Connection->new(); # Set data manually $connection->{'Remote_Port'} = 1024; # Get data automatically print $connection->Remote_Port;
Initial Revision
This module simply holds some information from a SimpleHTTP connection.
my $connection = POE::Component::Server::SimpleHTTP::Connection->new(); $connection->Remote_IP(); # Returns remote ip in dotted quad format ( 1.1.1.1 ) $connection->Remote_Port(); # Returns remote port $connection->Remote_Addr(); # Returns true remote address, consult the L<Socket> POD $connection->Local_Addr(); # Returns true local address, same as above
Nothing.
L<POE::Component::Server::SimpleHTTP>
Apocalypse <apocal@cpan.org>
Copyright 2003 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install POE::Component::Server::SimpleHTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Server::SimpleHTTP
CPAN shell
perl -MCPAN -e shell install POE::Component::Server::SimpleHTTP
For more information on module installation, please visit the detailed CPAN module installation guide.