|
All Packages Class Hierarchy This Package Previous Next Index Class java.net.DatagramPacketjava.lang.Object | +----java.net.DatagramPacket
Datagram packets are used to implement a connectionless packet delivery service. Each message is routed from one machine to another based solely on information contained within that packet. Multiple packets sent from one machine to another might be routed differently, and might arrive in any order.
DatagramPacketpublic DatagramPacket(byte ibuf[], int ilength)
public DatagramPacket(byte ibuf[], int ilength, InetAddress iaddr, int iport)
getAddresspublic synchronized InetAddress getAddress()
public synchronized int getPort()
public synchronized byte[] getData()
public synchronized int getLength()
public synchronized void setAddress(InetAddress iaddr) public synchronized void setPort(int iport) public synchronized void setData(byte ibuf[]) public synchronized void setLength(int ilength) All Packages Class Hierarchy This Package Previous Next Index Submit a bug or feature |
|||||||||||||||||
With any suggestions or questions please feel free to contact us |