NaviServer Programmable Web Server

ns_socklisten(n)

NaviServer Built-in Commands – 5.0.0a


[ Main Table Of Contents | Table Of Contents | Keyword Index ]

Name

ns_socklisten - Create a new socket listening for connections

Table Of Contents

Synopsis

Description

ns_socklisten creates a new socket listening for connections at the specified interface address and port. "*" can be used as the address argument to specify all addresses.

COMMANDS

ns_socklisten address port

EXAMPLES


See Also

ns_sockaccept, nsd

Keywords

NaviServer, global built-in, listen, socket