public void sendRPC(string node, Erlang.Atom mod, Erlang.Atom fun, Erlang.List args, Erlang.Pid ioServer) { if (node.Equals(home.node())) { throw new System.ArgumentException("Cannot make rpc calls on local node!"); } else { Erlang.Object msg = AbstractConnection.encodeRPC(_self, mod, fun, args, ioServer); OtpCookedConnection conn = home.connection(node); if (conn == null) { throw new System.Exception("Cannot establish connection to node " + node); } conn.send(_self, "rex", msg); } }