public interface DTLSServerSocketFactory
DTLSServerSocketFactorys create DTLServerSockets.| Modifier and Type | Method and Description | 
|---|---|
| DTLSServerSocket | createDTLSServerSocket(int port)Returns a server socket bound to the specified port on the local host machine. | 
| DTLSServerSocket | createDTLSServerSocket(int port,
                      InetAddress localAddress)Returns a server socket bound to the specified port, with a specified local IP. | 
DTLSServerSocket createDTLSServerSocket(int port) throws IOException
port - the server portIOException - if an I/O error occurs when creating the socketSecurityException - if a security manager exists and its checkListen method doesn't allow the operation.DTLSServerSocket createDTLSServerSocket(int port, InetAddress localAddress) throws IOException
port - the server portlocalAddress - the network interface address to useIOException - if an I/O error occurs when creating the socketSecurityException - if a security manager exists and its checkListen method doesn't allow the operation.