code: @SuppressWarnings("resource")
      public void send(final OtpErlangPid dest, final OtpErlangObject msg)
              throws IOException {
          // encode and send the message
          super.sendBuf(self.pid(), dest, new OtpOutputStream(msg));
      }
docs: Send a message to a process on a remote node.
  
  @param dest
  the Erlang PID of the remote process.
  @param msg
  the message to send.
  
  @exception java.io.IOException
  if the connection is not active or a communication error
  occurs.