Uses of Class
java.net.DatagramSocket
Package
Description
Provides the classes for implementing networking applications.
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
-
Uses of DatagramSocket in java.net
Modifier and TypeClassDescriptionclass
AMulticastSocket
is a datagram socket that is convenient for sending and receiving IP multicast datagrams.Modifier and TypeMethodDescription<T> DatagramSocket
DatagramSocket.setOption
(SocketOption<T> name, T value) Sets the value of a socket option. -
Uses of DatagramSocket in java.nio.channels
Modifier and TypeMethodDescriptionabstract DatagramSocket
DatagramChannel.socket()
Retrieves a datagram socket associated with this channel.