IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

Listening Property

If True, the class accepts incoming connections on LocalPort.

Syntax


 isListening(): boolean;

async  setListening(listening: boolean): void;

Default Value

FALSE

Remarks

Use this property to make the class 'listen' (accept connections) on the port specified by the LocalPort property. Setting this property to False will make the class stop listening (please note that this does not close any existing connections).

This property is not available at design time.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 8501]