1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! C3 discovery probe — isolates the **participant-discovery (SPDP)** phase that
//! the initial-announcement burst targets, decoupled from the SEDP
//! (endpoint-discovery) reliable handshake that `latency_ping`'s pubs/subs
//! metric folds in.
//!
//! Creates a bare participant (no endpoints → no SEDP traffic) and prints the
//! wall-clock time until it discovers at least one peer participant
//! (`participants > 0`). Run two instances pointing at each other
//! (`ZERODDS_NO_MULTICAST=1 ZERODDS_PEERS=127.0.0.1`); under SPDP loss the burst
//! (default) reaches `participants>0` far faster / more reliably than the
//! legacy single-beacon path (`ZERODDS_INITIAL_ANNOUNCE_COUNT=0`).
use ;
use ;