Code example for SSLServerSocketFactory

Methods: createServerSocket

0
    } 
 
    /* Added by Daniel J. Martinez Manzano <dani@dif.um.es> */ 
    public SSLServerSocket createSSLServerSocket(int port, int backlog,
            InetAddress bindAddress) throws IOException {
        return (SSLServerSocket) sslServerSocketFactory.createServerSocket(
                port, backlog, bindAddress);
    } 
 
    /* Added by Daniel J. Martinez Manzano <dani@dif.um.es> */ 
    public SSLSocket createSSLSocket(InetAddress address, int port)
            throws IOException { 
        return (SSLSocket) sslSocketFactory.createSocket(address, port);
    } 
 
    /* Added by Daniel J. Martinez Manzano <dani@dif.um.es> */ 
    public SSLSocket createSSLSocket(InetAddress address, int port,
            InetAddress myAddress) throws IOException {
        return (SSLSocket) sslSocketFactory.createSocket(address, port,
                myAddress, 0);
Experience pair programming with AI  Get Codota for Java