package sys-socket-unix

  1. Overview
  2. Docs
val af_unix : Sys_socket.sa_family

Socket types constants.

module SockaddrUnix : sig ... end

Unix socket_un structure.

type sockaddr_un = SockaddrUnix.t Ctypes.structure
val sockaddr_un_t : sockaddr_un Ctypes.typ
val from_unix_sockaddr : Unix.sockaddr -> Sys_socket.sockaddr Ctypes.ptr

Interface with the Unix module.

val to_unix_sockaddr : Sys_socket.sockaddr Ctypes.ptr -> Unix.sockaddr