package luv_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val from_unix : Unix.file_descr -> (t, Error.t) Result.result

Attempts to convert from a Unix.file_descr to a libuv uv_os_sock_t. Fails on Windows if the descriptor is a HANDLE rather than a SOCKET.

val to_unix : t -> Unix.file_descr

Converts a uv_os_sock_t to a Unix.file_descr.

OCaml

Innovation. Community. Security.