Luv.Networkmodule Interface_address : sig ... endBinds uv_interface_address_t. t.physical is a string of length 6.
val interface_addresses :
unit ->
(Interface_address.t list, Error.t) Stdlib.resultLists network interface addresses.
Binds uv_interface_addresses. See Network interfaces in the user guide.
val if_indextoname : int -> (string, Error.t) Stdlib.resultRetrieves a network interface name.
Binds uv_if_indextoname. See if_indextoname(3p).
Requires libuv 1.16.0.
Feature check: Luv.Require.(has if_indextoname)
val if_indextoiid : int -> (string, Error.t) Stdlib.resultval gethostname : unit -> (string, Error.t) Stdlib.resultEvaluates to the system's hostname.
Binds uv_os_gethostname. See gethostname(3p).
Requires.libuv 1.12.0.
Feature check: Luv.Require.(has os_gethostname)