paf.mirage
Make.TCP
paf
paf.alpn
include Mirage_flow.S with type flow = Stack.flow
type error
val pp_error : error Fmt.t
type nonrec write_error = private [>
| Mirage_flow.write_error
]
val pp_write_error : write_error Fmt.t
type flow = Stack.flow
val read : flow -> (Cstruct.t Mirage_flow.or_eof, error) result Lwt.t
val write : flow -> Cstruct.t -> (unit, write_error) result Lwt.t
val writev : flow -> Cstruct.t list -> (unit, write_error) result Lwt.t
val shutdown : flow -> [ `read | `read_write | `write ] -> unit Lwt.t
val close : flow -> unit Lwt.t
val dst : flow -> ipaddr * int