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.02

        Got rid of funky CaPs in methods

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.