Mwnci bind() Function

Syntax

bind(integer, string)

Description

The bind() connects to the named file descriptor, using the hostname:port combination as the connection information.

Example

fd = socket("tcp4")
bind(fd, "0.0.0.0:8000")
listen(fd, 1)