package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Core.Unix.Host.t = {
  1. name : string;
  2. aliases : string array;
  3. family : Protocol_family.t;
  4. 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