ICI Modules: net: bind
Modules by name : by type
Synopsissocket = net.bind(socket [, string | int])
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.