public DatagramPacket multicastReceive() throws IOException {
  byte[] buf=new byte[1024];
  DatagramPacket dp=new DatagramPacket(buf,buf.length);
  multicastSocket.receive(dp);
  return dp;
}

public DatagramPacket multicastReceive ( ) throws IOException { byte [ ] buf = new byte [ 1024 ] ; DatagramPacket dp = new DatagramPacket ( buf , buf . length ) ; multicastSocket . receive ( dp ) ; return dp ; }
used to receive ssdp multicast packet
