Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DatagramPacket information

Status
Not open for further replies.

riches85

Programmer
Nov 13, 2002
59
US
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()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top