GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Proxy::Connector::tcp(3) User Contributed Perl Documentation Net::Proxy::Connector::tcp(3)

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

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

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

The connector accept the following options:

host
The listening address. If not given, the default is "localhost".
port
The listening port.

host
The remote host.
port
The remote port.
timeout
The socket timeout for connection ("out" only).

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

Copyright 2006-2014 Philippe 'BooK' Bruhat, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2014-11-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.