OC-Minitel/RPC/OpenOS
Izaya f7cc00822a added two programs using the RPC library, for exporting and importing programs over the network 2019-12-25 16:29:58 +11:00
..
usr added two programs using the RPC library, for exporting and importing programs over the network 2019-12-25 16:29:58 +11:00
README.md inital RPC-reladed commit 2019-12-08 14:01:53 +11:00

README.md

RPC

Minitel Remote Procedure Call Library

API

In all instances, if hostname is replaced with localhost, an attempt will be made to call the registered procedure on the local machine.

rpc.call(hostname, name, ...)

Call function name on remote host hostname with arguments ...

rpc.proxy(hostname, filter)

Return a table containing the functions on hostname matching filter, which is a Lua pattern.

rpc.register(name, function)

Registers function as the RPC call for name on the current host.

Variables

rpc.port = 111

Port to use for RPC calls and registration.