Flow_shutdown.Make
A Mirage FLOW over a hypervisor socket with an additional protocol layer to workaround bugs where in-flight data is lost after a shutdown_write or a close.
module Socket_family : Hvsock.Af_common.S
include Mirage_flow_combinators.SHUTDOWNABLE with type error := error
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
val write : flow -> Cstruct.t -> ( unit, write_error ) Stdlib.result Lwt.t
val writev :
flow ->
Cstruct.t list ->
( unit, write_error ) Stdlib.result Lwt.t
val close : flow -> unit Lwt.t
val shutdown_write : flow -> unit Lwt.t
val shutdown_read : flow -> unit Lwt.t
module Socket : S.SOCKET with type sockaddr = Socket_family.sockaddr