- address
- The network address of the remote host.
- port
- The network port of the remote host.
Type Reason Java.Lang.IllegalArgumentException if the address is not supported or the port is invalid. Java.Lang.IllegalStateException if the stream is busy.
Associates with a remote host. This defines the destination of the outgoing packets.