Code example for SocketFactory

Methods: createSocket

0
    } 
 
    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 {
	TestResult.success(); 
	return factory.createSocket(s, i);
    } 
}