cfunction
(net/connect host port &opt type)
Open a connection to communicate with a server. Returns a duplex
stream that can be used to communicate with the server. Type is an
optional keyword to specify a connection type, either :stream or
:datagram. The default is :stream.