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).