KeepAlive Property

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

Syntax

public boolean isKeepAlive();
public void setKeepAlive(boolean keepAlive);

Default Value

False

Remarks

When set to True the class will periodically send KeepAlive packets to keep the connection open.

See KeepAliveTime, KeepAliveInterval, and KeepAliveRetryCount for details on configuring the keep alive settings.

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