package albatross

  1. Overview
  2. Docs
val pp_sockaddr : Format.formatter -> Lwt_unix.sockaddr -> unit
val port_socket : Ipaddr.t -> int -> Lwt_unix.file_descr Lwt.t

Listen on a port.

val systemd_socket : unit -> Lwt_unix.file_descr Lwt.t

Listen on a socket passed by systemd through a variable.

Listen on a socket bound to a service.

val pp_process_status : Format.formatter -> Unix.process_status -> unit
val waitpid : int -> (int * Lwt_unix.process_status, unit) result Lwt.t
val wait_and_clear : int -> Vmm_core.process_exit Lwt.t
val read_wire : Lwt_unix.file_descr -> (Vmm_commands.wire, [> `Eof | `Exception | `Toomuch ]) result Lwt.t
val write_raw : Lwt_unix.file_descr -> bytes -> (unit, [> `Exception ]) result Lwt.t
val write_wire : Lwt_unix.file_descr -> Vmm_commands.wire -> (unit, [> `Exception ]) result Lwt.t
val safe_close : Lwt_unix.file_descr -> unit Lwt.t
OCaml

Innovation. Community. Security.