File: README.md

package info (click to toggle)
ocaml-posix 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,732 kB
  • sloc: ml: 3,472; sh: 14; makefile: 3; javascript: 1
file content (11 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# posix-socket-unix

This module provides OCaml ctypes bindings to system-specific low-level socket structure and data-types.

The interface is implemented using [ocaml-ctypes](https://github.com/ocamllabs/ocaml-ctypes) and is intended
to exposed the machine-specific, low-level details of the most important parts of socket implementations.

[Posix_socket_unix](src/posix_socket_unix.mli) provides the API specific to `Unix` systems, mostly the `sockaddr_u` structure.
API common to both `Unix` and `Win32` systems are defined in the parent `posix-socket` module.

Happy hacking!