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

NAME

POE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTP

SYNOPSIS

        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;

CHANGES

1.01

        Initial Revision

DESCRIPTION

        This module simply holds some information from a SimpleHTTP connection.

METHODS

        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

EXPORT

Nothing.

SEE ALSO

        L<POE::Component::Server::SimpleHTTP>

AUTHOR

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2003 by Apocalypse

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.