IPWorks EDI 2020 Python Edition

Questions / Feedback?

keep_alive Property

When True, KEEPALIVE packets are enabled (for long connections).

Syntax

def get_keep_alive() -> bool: ...
def set_keep_alive(value: bool) -> None: ...

keep_alive = property(get_keep_alive, set_keep_alive)

Default Value

FALSE

Remarks

The keep_alive enables the SO_KEEPALIVE option on the socket. This option prevents long connections from timing out in case of inactivity.

Please note that system TCP/IP stack implementations are not required to support SO_KEEPALIVE.

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