public synchronized void send(DHCPMessage inMessage) throws IOException {
  byte data[]=new byte[this.mtu];
  data=inMessage.externalize();
  InetAddress dest=null;
  try {
    dest=InetAddress.getByName(inMessage.getDestinationAddress());
  }
 catch (  UnknownHostException e) {
  }
  DatagramPacket outgoing=new DatagramPacket(data,data.length,dest,inMessage.getPort());
  send(outgoing);
}

public synchronized void send ( DHCPMessage inMessage ) throws IOException { byte data [ ] = new byte [ this . mtu ] ; data = inMessage . externalize ( ) ; InetAddress dest = null ; try { dest = InetAddress . getByName ( inMessage . getDestinationAddress ( ) ) ; } catch ( UnknownHostException e ) { } DatagramPacket outgoing = new DatagramPacket ( data , data . length , dest , inMessage . getPort ( ) ) ; send ( outgoing ) ; }
sends a dhcpmessage object to a predifined host .
