public interface DatagramSocketProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecure()
Return true iff the provider returns sockets which are secured, for instance by TLS.
|
DatagramSocket |
openDatagramSocket()
Return a new DatagramSocket.
|
MulticastSocket |
openMulticastSocket()
Return a new MulticastSocket.
|
DatagramSocket openDatagramSocket() throws IOException
IOException - if an I/O related error occursMulticastSocket openMulticastSocket() throws IOException
IOException - if an I/O related error occursboolean isSecure()