Eio_net_chaos.OpSourceThe operations a wrapper sees.
type kind = [ | `ConnectA connect, a refused one included.
*)| `AcceptAn accept of a connection.
*)| `ReadA read from a connection.
*)| `WriteA write to a connection.
*)| `RecvA datagram taken by a receive.
*) ]The type for operation kinds.
type t = {index : int;The operation's place among all of them, from 1.
kind : kind;socket : int;The connection or datagram socket, numbered from 1 in the order the network made them, a refused connect included.
side : [ `Client | `Server ];The end of a connection: the one that connected, or the one that accepted. A datagram socket is a `Client.
family : [ `Inet | `Unix ];The address family of the socket: TCP or UDP over IP, or a Unix-domain socket, which loses, reorders and garbles nothing.
*)offset : int;The bytes this end read or wrote before, the datagrams this socket took before, or the connects or accepts before.
*)length : int;The bytes a read asks for or a write offers, or the size of the datagram received.
*)}The type for operations.