Initializes the receiver as a TCP/IP socket of type
SOCK that can connect to a remote host on a specified port.
- macOS 10.0+
The port to connect to.
The host name to connect to.
hostmay be either a host name or an IPv4-style address.
A TCP/IP socket port of type
SOCK that can connect to the remote host
host on port
A connection is not opened to the remote host until data is sent.