DatagramPacket.getAddress

DatagramPacket.getAddress

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized InetAddress getAddress()
Returns
the IP address of the machine to which this datagram is being sent or from which the datagram was received.
Description
Returns the IP address of the machine to which this datagram is being sent or from which the datagram was received.

See Also
InetAddress