Net::P...r::tcp(3pm)

πŸ“¦
version 0.13 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 is localhost. 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 (out only). note the "out only", bestie, this one does NOT apply to in. don't come for me. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Philippe 'BooK' Bruhat, "<book@cpan.org>". iconic. we love him. 🫢


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