Its mentioned in link itself...
Once you have generated client stub and server stub and modified the code as per your requirements, you compile them to get client side and server side code.
On remote side, you just have to run following binary:
Code:
[test@remote ~]$ msg_server
and on local machine, from where you want to call remote function
Code:
[test@local ~]$ rprintmsg remote "Hello, there."
where remote is
Ip of remote machine where you are running msg_server binary