Interface TcpListener

Hierarchy

Properties

Methods

Properties

port: number

IP port being listened on.

Methods

  • Closes the listener, releasing resources related to it. Once the listener is closed, all other operations will fail. Closing a listener multiple times is allowed and will not result in an error.

    Returns Promise<void>

Generated using TypeDoc