Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::Proxy::Connector:User(Contributed Perl DocumNet::Proxy::Connector::tcp(3)

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

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

COPYRIGHT
       Copyright 2006-2014 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.32.0			  2014-11-02	 Net::Proxy::Connector::tcp(3)

NAME | SYNOPSIS | DESCRIPTION | CONNECTOR OPTIONS | AUTHOR | COPYRIGHT | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::Proxy::Connector::tcp&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help