Module Unix_syscalls.Host

type t = Core.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 getbyaddr_exn : Inet_addr.t -> t Async_unix__.Import.Deferred.t
val have_address_in_common : t -> t -> bool