tcp_connect
tcp_connect — creates a client-side TCP socket connection.
tcp_connect (host, port)
hostThe IP address of the host machine.
portThe port to connect to.
A file descriptor for a new, connected socket.
This function creates a connected socket. This can be accessed with Gamma
fd_* functions such as fd_write and fd_read.
See the example for tcp_accept.