1XMLRPC::Transport::TCP(U3s)er Contributed Perl DocumentatXiMoLnRPC::Transport::TCP(3)
2
3
4
6 XMLRPC::Transport::TCP - Server/Client side TCP support for XML‐
7 RPC::Lite
8
10 use XMLRPC::Transport::TCP;
11
12 my $daemon = XMLRPC::Transport::TCP::Server
13 -> new (LocalAddr => 'localhost', LocalPort => 82, Listen => 5, Reuse => 1)
14 -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
15 -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method')
16 ;
17 print "Contact to XMLRPC server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n";
18 $daemon->handle;
19
22 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
23
24 This library is free software; you can redistribute it and/or modify it
25 under the same terms as Perl itself.
26
28 Paul Kulchenko (paulclinger@yahoo.com)
29
30
31
32perl v5.8.8 2006-06-15 XMLRPC::Transport::TCP(3)