listen

start listening on given port and return new socket


Parameters

listen port :integer

Attributes

udpuse UDP instead of TCP

Returns

  • :socket

Examples

copy
; start a server listening on port 18966 server: listen 18966

Related