listening Property

If True, the class accepts incoming connections on LocalPort.

Syntax

def get_listening() -> bool: ...
def set_listening(value: bool) -> None: ...

listening = property(get_listening, set_listening)

Default Value

FALSE

Remarks

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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]