This module provides OCaml ctypes bindings to system-specific low-level socket structure and data-types.
The interface is implemented using ocaml-ctypes and is intended
to exposed the machine-specific, low-level details of the most important parts of socket implementations.
On POSIX systems, the following headers define the bound types and structures:
On windows systems, the following headers define the bound types and structures:
Its API mirrors as much as possible the original POSIX definitions, including integers representation (network bytes order,
host byte order). It is defined in sys_socket.mli
A high-level wrapper for the OCaml Unix module is provided as well.