diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index c778e81a..3afe76c8 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -583,6 +583,7 @@ protected: auto reply = createAck(ack_hash); if (reply) { + reply->payload[reply->payload_len++] = getUnsyncedCount(client); // NEW: add unsynced counter to end of ACK packet sendDirect(reply, client->out_path, client->out_path_len); } }