SKeepAliveSettings

struct SKeepAliveSettings
double IdleTimeout

Timeout in seconds between the last data packet and the first keep-alive probe. Negative value means infinite.

double ProbeInterval

Interval in seconds between subsequential keep-alive probes. Negative value means infinite.

uint32_t ProbeCount

Maximum number of keep-alive probes to send. Zero means keep-alive is disabled.

SKeepAliveSettings::SKeepAliveSettings()
SKeepAliveSettings::SKeepAliveSettings(double idleTimeout, double probeInterval, uint32_t probeCount)
Parameters
  • idleTimeout

  • probeInterval

  • probeCount