Skip to content
marcin212 edited this page Jun 11, 2014 · 9 revisions

for v0.0.1

File informations

rc-server.lua is the aplication.

rc-client.lua is the library.

rc-client.lua functions:

proxy(address:string):table Gets a 'proxy' object for a component that provides all methods the component provides as fields. If there are no errors, rc-client.proxy(address).function_name() returns true, plus any values returned by the call. Otherwise, it returns false, plus the error message.

Example:

example

rc-server.lua is running on the computer in network 2.

rc-client.lua is in the /lib folder on computer in network 1.

Example program on computer in network 1:

example I renamed rc-client.lua to rc.lua on this screen.