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