Added silence timeout as floating point

This commit is contained in:
Martino Ferrari
2026-08-10 17:18:50 +02:00
parent 1ddb4fe356
commit a49ab5ba25
8 changed files with 132 additions and 9 deletions
@@ -175,6 +175,7 @@ private:
uint16 port; /**< Server port. */
uint32 maxPayloadSize; /**< Max payload bytes per datagram. */
uint32 keepAliveInterval; /**< Seconds between unicast keepalive ACKs (0 disables). */
float32 silenceTimeout; /**< Seconds of no data before reconnect (sub-second allowed, 0 disables). */
uint32 cpuMask; /**< Background thread CPU affinity. */
uint32 stackSize; /**< Background thread stack size. */
StreamString multicastGroup; /**< Multicast group IP; empty = unicast. */