Remote procedure call

the call is coming from

Makes it possible to call functions remotely on another peer. It's a easy way to handle network events in a game.

  • It should be possible to call the function on a single peer, a group of peers, all peers or all peers but not the local one.

  • The functions should be able to handle parameters. As all data they should be compressed as much as possible.

  • No handling of return values. All calls are asynchronous so if one wish to have a answer of the result the receiver's have to send a RPC call back.

  • RPC calls need to arrive in the order they been called and have a guaranteed delivery.