Net::Proxy::Connector::tcp(3pm) User Contributed Perl Documentation Net::Proxy::Connector::tcp(3pm)
NAME
Net::Proxy::Connector::tcp - Net::Proxy connector for standard tcp proxies
SYNOPSIS
# sample proxy using Net::Proxy::Connector::tcp
use Net::Proxy;
my $proxy = Net::Proxy->new(
in => { type => tcp, port => '6789' },
out => { type => tcp, host => 'remotehost', port => '9876' },
);
$proxy->register();
Net::Proxy->mainloop();
DESCRIPTION
"Net::Proxy::Connector::tcp" is a connector for handling basic, standard TCP connections.
CONNECTOR OPTIONS
The connector accept the following options:
"in"
o host
The listening address. If not given, the default is "localhost".
o port
The listening port.
"out"
o host
The remote host.
o port
The remote port.
o timeout
The socket timeout for connection ("out" only).
AUTHOR
Philippe 'BooK' Bruhat, "<book@cpan.org>".
COPYRIGHT
Copyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-10-18 Net::Proxy::Connector::tcp(3pm)