Code example for SocketFactory

Methods: createSocket

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