KeepAlive Property

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

Syntax

bool GetKeepAlive();
int SetKeepAlive(bool bKeepAlive);

Default Value

false

Remarks

The KeepAlive 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.

Data Type

Boolean

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