createSocket(String, int, InetAddress, int) method

Syntax

public Socket createSocket (
    String s,
    int i,
    InetAddress inaddr,
    int j
) throws IOException