Query: poe::component::server::simplehttp::connection
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POE::Component::Server::SimpleHTTP::Connection(3pm) User Contributed Perl Documentation POE::Component::Server::SimpleHTTP::Connection(3pm)NAMEPOE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTPSYNOPSISuse POE::Component::Server::SimpleHTTP::Connection; my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket ); # Print some stuff print $connection->remote_port;DESCRIPTIONThis module simply holds some information from a SimpleHTTP connection. METHODS my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket ); $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 $connection->local_ip(); # Returns local ip in dotted quad format ( 1.1.1.1 ) $connection->local_port(); # Returns local port $connection->dead(); # Returns a boolean value whether the socket is closed or not $connection->ssl(); # Returns a boolean value whether the socket is SSLified or not $connection->sslcipher(); # Returns the SSL Cipher type or undef if not SSL $connection->ID(); # unique ID of this connection EXPORT Nothing.SEE ALSOPOE::Component::Server::SimpleHTTP, POE::Component::Server::SimpleHTTP::ResponseAUTHORApocalypse <apocal@cpan.org> Chris "BinGOs" Williams <chris@bingosnet.co.uk>COPYRIGHT AND LICENSECopyright X Apocalypse and Chris Williams This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-12-28 POE::Component::Server::SimpleHTTP::Connection(3pm)
Similar Topics in the Unix Linux Community |
---|
GUI remote connection |
Redirect an application with a Serial connection |
FTP Connection die out |
Writing a Socket Server |
Connection closed by foreign host |