package hvsock

  1. Overview
  2. Docs
module type S = sig ... end

A low-level socket interface, common to both Windows and Linux kernels

type buffer = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
val stub_ba_sendv : Unix.file_descr -> (buffer * int * int) list -> int
val stub_ba_recv : Unix.file_descr -> buffer -> int -> int -> int
val writev : Unix.file_descr -> Cstruct.t list -> int
val read_into : Unix.file_descr -> Cstruct.t -> int
OCaml

Innovation. Community. Security.