code: public void send(final OtpErlangPid to, final OtpErlangObject msg) {
          try {
              final String node = to.node();
              if (node.equals(home.node())) {
                  home.deliver(new OtpMsg(to, (OtpErlangObject) msg.clone()));
              } else {
                  final OtpCookedConnection conn = home.getConnection(node);
                  if (conn == null) {
                      return;
                  }
                  conn.send(self, to, msg);
              }
          } catch (final Exception e) {
          }
      }
docs: Send a message to a remote {@link OtpErlangPid pid}, representing either
  another {@link OtpMbox mailbox} or an Erlang process.
  
  @param to
  the {@link OtpErlangPid pid} identifying the intended
  recipient of the message.
  
  @param msg
  the body of the message to send.