Eio_mock.NetSourceMock Eio.Net networks and sockets.
on_connect t actions configures what to do when a client tries to connect somewhere.
on_listen t actions configures what to do when a server starts listening for incoming connections.
on_datagram_socket t actions configures how to create datagram sockets.
listening_socket label can be configured to provide mock connections.
If listening_addr is not provided, a dummy value will be reported.
val on_accept :
listening_socket ->
(Flow.t * Eio.Net.Sockaddr.stream) Handler.actions ->
uniton_accept socket actions configures how to respond when the server calls "accept".