The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

RPC::Serialized::Client::INET - IPv4 socket RPC client

SYNOPSIS

 use RPC::Serialized::Client::INET;
  
 my $c = RPC::Serialized::Client::INET->new({
     io_socket_inet => {PeerPort => 20203},
 });
  
 my $result = $c->remote_sub_name(qw/ some data /);
     # remote_sub_name gets mapped to an invocation on the RPC server
     # it's best to wrap this in an eval{} block

DESCRIPTION

This module allows you to communicate with an RPC::Serialized server over IPv4 Internet Domain sockets.

What you need to know is that the options to this module are those you would normally pass to an instance of IO::Socket::INET, so check out the manual page for that to see what features are available. As in the "SYNOPSIS" example above, pass the options in a hash reference mapped to the key io_socket_inet.

For further information on how to pass these settings into RPC::Serialized, and make RPC calls against the server, please see the RPC::Serialized manual page.

AUTHOR

Oliver Gorwits <oliver.gorwits@oucs.ox.ac.uk>

This module is a derivative of YAML::RPC, written by pod and Ray Miller, at the University of Oxford Computing Services. Without their brilliant creation this system would not exist.

COPYRIGHT & LICENSE

Copyright (c) The University of Oxford 2007. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA