ICI Modules: net: listen
Modules by name : by typeSynopsis
socket = net.listen(socket [, int])Description
Ask the system to allow connections to be accept on the socket which must be a TCP socket with a bound address. The optional second argument defines the length of the accept queue for the socket and if not passed defaults to 5.
The function returns the socket object passed as argument to allow chaining of socket related function calls.