@FunctionalInterface public interface SocketCustomizer
Modifier and Type | Method and Description |
---|---|
void |
configure(DatagramSocket socket)
Configure the socket ({code setTrafficClass()}, etc).
|
void configure(DatagramSocket socket) throws SocketException
socket
- the socket.SocketException
- a socket exception.