Code example for SSLSocketFactory

Methods: createSocket

0
    return factory.createSocket(socket, s, i, flag);
    } 
 
    public Socket createSocket(InetAddress inaddr, int i,
                InetAddress inaddr1, int j) throws IOException {
    return factory.createSocket(inaddr, i, inaddr1, j);
    } 
 
    public Socket createSocket(InetAddress inaddr, int i)
                throws IOException { 
    return factory.createSocket(inaddr, i);
    } 
 
    public Socket createSocket(String s, int i, InetAddress inaddr, int j)
                throws IOException { 
    return factory.createSocket(s, i, inaddr, j);
    } 
 
    public Socket createSocket(String s, int i) throws IOException {
    return factory.createSocket(s, i);
    }