If I receive a datagram packet from a multicast address, is it possible to obtain the actual multicast address from the datagram object itself. So far I can see that I can get the IP address of the local machine receiving the packet and also the IP address of the remote machine sending the data using the methods below. None of these help me because I need the actual multicast address. Thank you for your help in advance.
DatagramPacket.getHostAddress()
DatagramPacket.getSocketAddress()
DatagramPacket.getHostAddress()
DatagramPacket.getSocketAddress()