Dns_mirage.Make
module IPM : sig ... end
IPM
is a map using ip * port
as key.
val of_flow : S.TCP.flow -> f
of_flow flow
is f
.
val flow : f -> S.TCP.flow
flow f
is the underlying flow.
val read_tcp : f -> (Cstruct.t, unit) Stdlib.result Lwt.t
read_tcp f
returns either a buffer or an error (logs actual error).
send_tcp flow buf
sends the buffer, either succeeds or fails (logs actual error).
send_tcp_multiple flow bufs
sends the buffers, either succeeds or fails (logs actual error).