aboutsummaryrefslogtreecommitdiffstats
path: root/link
Commit message (Collapse)AuthorAgeFilesLines
* Keep a link's two sides as state alone, the sockets and threads aparteunhhu2026-09-295-1541/+2033
| | | | | | | | | | | | 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.
* Let links know nothing of the core: the host names inputs and shapeseunhhu2026-09-292-91/+67
| | | | | | A sender takes its messages' shape, and a listener asks its host which input a stream goes to. The core gives the shape (pure_module_shape); link/ now builds without the core's headers.
* Put the links and the crypto they use in link/, a part of their owneunhhu2026-09-297-0/+2578
libpure-link.a holds them; pure-serve and the M5 harness link it instead of naming its source files.