package mirage-net

  1. Overview
  2. Docs
type t
type mgr = Manager.t
val read : t -> OS.Io_page.t option Lwt.t
val write : t -> OS.Io_page.t -> unit Lwt.t
val writev : t -> OS.Io_page.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 -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.