aboutsummaryrefslogtreecommitdiffstats
path: root/link/link-protocol.h
Commit message (Collapse)AuthorAgeFilesLines
* Keep a link's two sides as state alone, the sockets and threads aparteunhhu2026-09-291-0/+160
link/link-protocol.h is the protocol with no socket, thread or clock of its own: packets and time in, packets out. link/link.h carries it over UDP as before. A sender starts small (8 flights, 16 records, a 4 KiB ring) so one thread can hold many. The transport's CPU a record is the same within 2% (five rounds each way, 61 B to 16 KiB). test-link runs both sides through a network of its own: loss, packets held back and doubled, failed saves, an idle sweep, and both sides starting again, every record applied once as sent.