ServiceAnnouncementRequestInterface::TimingProperties Struct Reference

#include <network_service_discovery.h>

Detailed Description

Timing details for this service announcement.

Public Attributes

TimeValue refreshInterval
TimeValue timeout

Member Data Documentation

◆ refreshInterval

TimeValue refreshInterval

Interval of keep-alive messages. Setting this lower allows for a shorter timeout, but also increases network traffic.

◆ timeout

TimeValue timeout

Wait time between last received message and timeout. Should be ~2-3x refreshInterval. Setting this lower means timeouts are detected faster, but also increases risk of false negatives.