Uses of Class java.net.DatagramPacket

Uses in package java.net

Methods with parameter type java.net.DatagramPacket

int
Takes a peek at the next packet received.
void
Reads a datagram packet from the socket.
void
Receives a packet of data from the network Will block until a packet arrives.
void
Sends the specified packet.
void
Transmits the specified packet of data to the network.
void
MulticastSocket.send(DatagramPacket packet, byte ttl)
Sends a packet of data to a multicast address with a TTL that is different from the default TTL on this socket.