eio-netversion Documentation on ocaml.org

In-memory network for Eio, to test code under network faults, and frame channels

eio-net is an in-memory network for Eio, to test code under network faults, and frame channels to build programs on. Each test gets a fresh network of its own, used through the ordinary Eio.Net API, so the code under test does not change. Eio_net_chaos.run runs a program again and again, each time with a different network fault, and restarts it on the network the fault left. Eio_net_chaos.conformance checks that an Eio network answers as Linux, macOS or Windows does. The frame channels, in which one receive is one frame, come with an accept loop and a relay.

Tags eio test chaos network in-memory framing
AuthorThomas Gazagnaire <thomas@gazagnaire.org>
LicenseISC
Published
Homepagehttps://github.com/samoht/ocaml-eio-net
Issue Trackerhttps://github.com/samoht/ocaml-eio-net/issues
MaintainerThomas Gazagnaire <thomas@gazagnaire.org>
Dependencies
Source [http] https://github.com/samoht/ocaml-eio-net/releases/download/0.2.1/eio-net-0.2.1.tbz
sha256=b8c730354e1466caa1a4137681a0229d706a925b0fc227507ec2c0a7531a3453
sha512=c5182739016e1be699a1784223a5d3dd5fb8a9fede138853bb08bb5c0a64bbe6ed32f8281336f8e38600696ea7067abb6d2222936a69146dfb5ca8bd44d95532
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/eio-net/eio-net.0.2.1/opam
Required by