ICI Modules: net: bind


Modules by name : by type

Synopsis

socket = net.bind(socket [, string | int])

Description

Binds a local address to a socket. If no address is given the system is asked to assign any port to the socket otherwise if the address is a string it is interpreted as defined here or if an integer it is assumed to be a defined port number.