- sock
- socket to connect to any of the given addresses
- host
- Host name to connect to
- port
- the port to connect to
- localAddress
- local address
- localPort
- local port
- params
- HTTP parameters
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if an error occurs during the connection Java.Net.SocketTimeoutException if timeout expires before connecting
Attempts to connects the socket to any of the Java.Net.InetAddresses the given host name resolves to. If connection to all addresses fail, the last I/O exception is propagated to the caller.