logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::Proxy::Connector::tcp - Net::Proxy connector for standard tcp proxies

Author

       Philippe 'BooK' Bruhat, "<book@cpan.org>".

Connector 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).

Description

       "Net::Proxy::Connector::tcp" is a connector for handling basic, standard TCP connections.

License

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

perl v5.38.2                                       2024-05-15                    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();

See Also