- :socket
listen
start listening on given port and return new socket
Parameters
listen port :integer
Attributes
blocking | :string | set blocking mode (default: false) |
udp | use UDP instead of TCP |
Returns
Examples
copy; start a server listening on port 18966 server: listen 18966