Net::Proxy::Connector::tcp(3pm)

Net::Proxy::Connector::tcp3pm

Net::proxy connector for standard tcp proxies

Usage

    # 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();

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 "localhost".

port

The listening port.

"out"

host

The remote host.

port

The remote port.

timeout

The socket timeout for connection ("out" only).

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0–7
  3. 8–10
  4. 11
  5. 12
  6. 13

Author

Philippe 'BooK' Bruhat, "<[email protected]>".

License

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

From libnet-proxy-perl 0.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.