package mirage-net-direct

  1. Overview
  2. Docs
type t
type mgr = Manager.t
val read : t -> Cstruct.t option Lwt.t
val write : t -> Cstruct.t -> unit Lwt.t
val writev : t -> Cstruct.t list -> unit Lwt.t
val close : t -> unit Lwt.t
val listen : mgr -> src -> (dst -> t -> unit Lwt.t) -> unit Lwt.t
val connect : mgr -> ?src:src -> dst -> (t -> unit Lwt.t) -> unit Lwt.t
OCaml

Innovation. Community. Security.