Uses of Class java.net.DatagramPacket

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.net.DatagramPacket

Packages that use DatagramPacket
java.net | Provides the classes for implementing networking applications.

Uses of DatagramPacket in java.net

Methods in java.net with parameters of type DatagramPacket
`void` | `DatagramSocket.receive(DatagramPacket p)` Receives a datagram packet from this socket.
`void` | `DatagramSocket.send(DatagramPacket p)` Sends a datagram packet from this socket.
`void` | `MulticastSocket.send(DatagramPacket p, byte ttl)` Deprecated. Use the following code or its equivalent instead: ...... int ttl = mcastSocket.getTimeToLive(); mcastSocket.setTimeToLive(newttl); mcastSocket.send(p); mcastSocket.setTimeToLive(ttl); ......

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES