createSocket(InetAddress, int) method

Syntax

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