use warnings; use Net::INET6Glue::INET_is_INET6; require RPC::XML; require McClient; my $port = 8011; my @arr = @ARGV; my $host = "::1"; my $cli = RPC::XML::Client->new("http://[$host]:$port/RPC2"); my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', ,R +PC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
Now the error is different:
Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to ::1:localhost:80 (sock_info: Bad service '80')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to ::1:localhost:80 (sock_info: Bad service '80')"?)
It seems the localhost is concateneated to ::1 and the port is cut (8011 -> 80). am I mis-using it ?In reply to Re^2: IPv6 support for XML-RPC modules
by daphnaw
in thread IPv6 support for XML-RPC modules
by daphnaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |