Generated by
JDiff

Class java.net.DatagramPacket

Added Constructors
DatagramPacket(byte[], int, int, SocketAddress) Constructs a datagram packet for sending packets of length length with offset ioffsetto the specified port number on the specified host.
DatagramPacket(byte[], int, SocketAddress) Constructs a datagram packet for sending packets of length length to the specified port number on the specified host.
 

Added Methods
SocketAddress getSocketAddress() Gets the SocketAddress (usually IP address + port number) of the remote host that this packet is being sent to or is coming from.
void setSocketAddress(SocketAddress) Sets the SocketAddress (usually IP address + port number) of the remote host to which this datagram is being sent.