tcp_listen
tcp_listen — creates a server-side TCP socket connection.
Syntax
tcp_listen (port, backlog?)
Arguments
- port
- backlog
The IP address of the host machine.
Returns
A file descriptor for a new,
connected socket.
Description
This function creates a connected
socket. This can be accessed with Gamma
fd_* functions such as fd_write and
fd_read.