This is the easy part. Instead of reading the messages from a named pipe, the RSVP process must read UDP packets arriving on port 46 via a socket (a DatagramSocket object), and then use the data part from a DatagramPacket object. This is simpler than the current method used to read messages.
The sendMessage method would store the message as the contents of a DatagramPacket object, and then send this UDP packet.