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 Import.Deferred.t
val getbyname_exn : string -> t Import.Deferred.t
val getbyaddr : Inet_addr.t -> t option Import.Deferred.t
val getbyaddr_exn : Inet_addr.t -> t Import.Deferred.t
val have_address_in_common : t -> t -> bool