XMLRPC:...rt::TCP(3)
πΈ XMLRPC::Transport::TCP(3) β the bestie edit πΈ
ok so first things first: the full manual name got chopped up in the header, so lemme just say it out loud β we're reading XMLRPC:...rt::TCP(3), which is the User Contributed Perl Documentation page for this module. the truncated bit in the middle is Transport in case you were squinting at it π
β¨ NAME β¨
XMLRPC::Transport::TCP β literally the thing that gives you Server/Client side TCP support for XMLRPC::Lite. that's the whole vibe. it's giving "plumbing but make it RPC" π«Ά
β¨ SYNOPSIS β¨
ok bestie here's the whole thing, verbatim, don't touch:
use XMLRPC::Transport::TCP;
my $daemon = XMLRPC::Transport::TCP::Server
-> new (LocalAddr => 'localhost', LocalPort => 82, Listen => 5, Reuse => 1)
-> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
-> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method');
print "Contact to XMLRPC server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n";
$daemon->handle;
so like β you use the module, you spin up a XMLRPC::Transport::TCP::Server with LocalAddr => 'localhost', LocalPort => 82, Listen => 5 and Reuse => 1 π then chaining happens (the iconic method-chain moment β¨): objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat)), then dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method'). then you print "Contact to XMLRPC server at " plus join(':', $daemon->sockhost, $daemon->sockport) and a "\n" β and finally $daemon->handle makes it actually serve. slay π
β¨ DESCRIPTION β¨
ngl there is literally nothing under this heading in the original page. no prose, no explanation, zero words. the SYNOPSIS is doing all the heavy lifting here, main character energy π
π COPYRIGHT π
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
and the legal bit, keep it exact, no paraphrasing:
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. β¨
π AUTHOR π
Paul Kulchenko (paulclinger@yahoo.com) β we love a credited king π
ok that's the whole page, and quick sign-off so nobody comes for me: this was perl v5.42.0, dated 2014-06-25, filed under XMLRPC:...rt::TCP(3) π¦ bye bestie, go write some TCP servers π
π¦ where this page comes from
- opensuse-leap 16.0: perl-XMLRPC-Lite 0.717-bp160.1.11 Β· GPL-1.0+ or Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms