[domistream] ENet host: tests first (client against host over an in-memory lossy wire), API stubs

EnetHostPeer is the accepting side, one peer per client address. The tests drive our EnetClient against it with simulated time, loss, duplication and reordering, plus a scripted client for the stock ENet 1.3 facts (verify connect fields, session ids, what is acknowledged when). They fail against the stubs.
This commit is contained in:
2026-12-04 12:24:14 +01:00
parent 514565dbd7
commit ca57bb00e2
5 changed files with 1352 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@ use std::collections::HashMap;
use domistream::RandomSource;
pub mod wire;
// ------------------------------------------------------------------------------------------------ assertions
/// Asserts that `$e` is `Err` matching `$p` (an `Error` pattern), printing the actual value otherwise.