package posix-socket-unix

  1. Overview
  2. Docs

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 -> Posix_socket.sockaddr Ctypes.ptr

Interface with the Unix module.

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