next up previous contents
Next: A traffic control module Up: Integrating the control architecture Previous: Integrating the control architecture   Contents

Rewriting the switch interface

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.



Hugo Haas
hugo@larve.net
July 1998 - Please note that this HTML version is broken; I advise you to read the PostScript version.