public void send(String data) throws IOException {
  DatagramPacket dp=new DatagramPacket(data.getBytes(),data.length(),multicastGroup);
  datagramSocket.send(dp);
}

public void send ( String data ) throws IOException { DatagramPacket dp = new DatagramPacket ( data . getBytes ( ) , data . length ( ) , multicastGroup ) ; datagramSocket . send ( dp ) ; }
used to send ssdp packet
