Up

Module Host

Signature

type t = Core.Std.Unix.Host.t = {
name
: string ;
aliases
: string array ;
family
: Protocol_family.t ;
addresses
: Inet_addr.t array ;
}
val getbyname : string -> t option Async_unix.Import.Deferred.t
val getbyname_exn : string -> t Async_unix.Import.Deferred.t
val getbyaddr : Inet_addr.t -> t option Async_unix.Import.Deferred.t
val have_address_in_common : t -> t -> bool