def receive_right
      msg = ReceiveRightMsg.new
  
      mach_msg(msg,
               2, # RCV_MSG,
               0,
               msg.size,
               port,
               MSG_TIMEOUT_NONE,
               PORT_NULL)

      self.class.new :port => msg[:port][:name]
    end
def receive_right
      msg = ReceiveRightMsg.new
  
      mach_msg(msg,
               2, # RCV_MSG,
               0,
               msg.size,
               port,
               MSG_TIMEOUT_NONE,
               PORT_NULL)

      self.class.new :port => msg[:port][:name]
    end
Create a new Port by receiving a port right message on this
 port.