package luv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Interface_address : sig ... end

Binds uv_interface_address_t. t.physical is a string of length 6.

val interface_addresses : unit -> (Interface_address.t list, Error.t) Result.result

Lists network interface addresses.

Binds uv_interface_addresses. See Network interfaces in the user guide.

val if_indextoname : int -> (string, Error.t) Result.result

Retrieves a network interface name.

Binds uv_if_indextoname. See if_indextoname(3p).

val if_indextoiid : int -> (string, Error.t) Result.result
val gethostname : unit -> (string, Error.t) Result.result

Evaluates to the system's hostname.

Binds uv_os_gethostname. See gethostname(3p).

OCaml

Innovation. Community. Security.