Net::P...r::tcp(3pm)
π Net::Proxy::Connector::tcp β the tcp connector era
okay bestie so this page is Net::Proxy::Connector::tcp(3pm), and it lives in the User Contributed Perl Documentation section of the manual, and it is literally the most unbothered little connector in the whole Net::Proxy friend group. no cap.
β¨ NAME β¨
Net::Proxy::Connector::tcp β the Net::Proxy connector for standard tcp proxies π«Ά
πΈ SYNOPSIS πΈ
here's the whole vibe, copy it and slay:
# 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();
that's it. that's the whole main character arc. β¨
π¦ DESCRIPTION π¦
Net::Proxy::Connector::tcp is a connector for handling basic, standard TCP connections. it's giving foundational. it's giving the blueprint. it does the plain TCP thing and it does it flawlessly, periodt. π
π CONNECTOR OPTIONS π
the connector accepts the following options, and yes, you need to know all of them, so sit down and sip your little drink π:
π in
hostβ the listening address. if you don't give one, the default islocalhost. she'll just hang out at home unless you tell her otherwise. πportβ the listening port. the door she's holding open. πͺ
π out
hostβ the remote host. the far away bestie you're connecting to. πportβ the remote port. their door. knock knock. πtimeoutβ the socket timeout for connection (outonly). note the "out only", bestie, this one does NOT apply toin. don't come for me. π
π AUTHOR π
Philippe 'BooK' Bruhat, "<book@cpan.org>". iconic. we love him. π«Ά
β 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.
fr fr, that's the whole page. every option, every default, every host and port. nothing skipped, nothing invented, vibe check passed. π
and that's a wrap, babe β this was page Net::P...r::tcp(3pm) from perl v5.38.2, dated 2024-05-15, straight out of the User Contributed Perl Documentation. go forth and proxy, you absolute legend. π§β¨π
π¦ where this page comes from
- debian trixie: libnet-proxy-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-proxy-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-proxy-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms