Module Async_unix__Unix_syscalls.Inet_addr

include module type of sig ... end
type t = Unix.inet_addr
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int ‑> t) Bin_prot.Read.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t
val hash_fold_t : Base.Hash.state ‑> t ‑> Base.Hash.state
val hash : t ‑> Base.Hash.hash_value
val sexp_of_t : t ‑> Base.Sexp.t
val t_of_sexp : Core__.Import.Sexp.t ‑> t
  • Deprecated [since 2015-10] Replace [t] by [Blocking_sexp.t]
val (>=) : t ‑> t ‑> bool
val (<=) : t ‑> t ‑> bool
val (=) : t ‑> t ‑> bool
val (>) : t ‑> t ‑> bool
val (<) : t ‑> t ‑> bool
val (<>) : t ‑> t ‑> bool
val equal : t ‑> t ‑> bool
val compare : t ‑> t ‑> int
val min : t ‑> t ‑> t
val max : t ‑> t ‑> t
val ascending : t ‑> t ‑> int
val descending : t ‑> t ‑> int
val between : t ‑> low:t ‑> high:t ‑> bool
val clamp_exn : t ‑> min:t ‑> max:t ‑> t
val clamp : t ‑> min:t ‑> max:t ‑> t Base.Or_error.t
val validate_lbound : min:t Base.Maybe_bound.t ‑> t Base.Validate.check
val validate_ubound : max:t Base.Maybe_bound.t ‑> t Base.Validate.check
val validate_bound : min:t Base.Maybe_bound.t ‑> max:t Base.Maybe_bound.t ‑> t Base.Validate.check
val of_string : string ‑> t
val of_string_or_getbyname : string ‑> t
val to_string : t ‑> string
val bind_any : t
val bind_any_inet6 : t
val localhost : t
val localhost_inet6 : t
val inet4_addr_of_int32 : Core__.Import.Int32.t ‑> t
val inet4_addr_to_int32_exn : t ‑> Core__.Import.Int32.t
val inet4_addr_of_int63 : Core__.Import.Int63.t ‑> t
val inet4_addr_to_int63_exn : t ‑> Core__.Import.Int63.t
val of_string_or_getbyname : string ‑> t Async_unix__.Import.Deferred.t

of_string_or_getbyname hostname does a DNS lookup of hostname and returns the resulting IP address.