Net::Proxy::Connector::tcp3pm
Net::proxy connector for standard tcp proxies
Usage
# sample proxy using Net::Proxy::Connector::tcpuse Net::Proxy;my $proxy = Net::Proxy->new(in => { type => tcp, port => '6789' },out => { type => tcp, host => 'remotehost', port => '9876' },);$proxy->register();Net::Proxy->mainloop();
Overview
"Net::Proxy::Connector::tcp" is a connector for handling basic, standard TCP connections.
Options
The connector accept the following options:
"in"
host
|
The listening address. If not given, the default is |
|---|---|
port
|
The listening port. |
"out"
host
|
The remote host. |
|---|---|
port
|
The remote port. |
timeout
|
The socket timeout for connection ( |
Releases
9 releases since Debian 5.0 (Lenny); the text changed 5 times.