Extends

Properties

P connections: number

Type:
  • number
Inherited From:

P maxConnections: number

Type:
  • number
Inherited From:

Methods

M close(callback: function) net.Server

Parameters:
Name Type Argument
callback function <optional>
Inherited From:
Returns: { net.Server }

M listen(port: number, host: string, backlog: number, listeningListener: function) net.Server

Parameters:
Name Type Argument
port number
host string <optional>
backlog number <optional>
listeningListener function <optional>
Inherited From:
Returns: { net.Server }

M listen(path: string, listeningListener: function) net.Server

Parameters:
Name Type Argument
path string
listeningListener function <optional>
Inherited From:
Returns: { net.Server }

M listen(handle: any, listeningListener: function) net.Server

Parameters:
Name Type Argument
handle any
listeningListener function <optional>
Inherited From:
Returns: { net.Server }