- address
- the remote host address this socket has to be connected to.
- port
- the remote port on which this socket has to be connected.
Type Reason Java.IO.IOException if an error occurs while connecting to the remote host.
Connects this socket to the specified remote host address and port number.