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.