Module Unix_syscalls.Inet_addr

module Inet_addr: sig .. end

type t = Core.Unix.Inet_addr.t 
include Comparable.S
same as Core.Unix
val of_string : string -> t
val to_string : t -> string
val bind_any : t
val bind_any_inet6 : t
val localhost : t
127.0.0.1
val localhost_inet6 : t
(::1)
val inet4_addr_of_int32 : Core.Std.Int32.t -> t
val inet4_addr_to_int32_exn : t -> Core.Std.Int32.t
val of_string_or_getbyname : string -> t Import.Deferred.t
of_string_or_getbyname hostname does a DNS lookup of hostname and returns the resulting IP address. The implemenation sequentializes all calls so that only a single call is active at a time. The is because we've observed thread safety issues with certain versions of winbind using "wins" name resolution.
val compare : t -> t -> int
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val bin_t : t Bin_prot.Type_class.t
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

same as Core.Unix

127.0.0.1

(::1)

of_string_or_getbyname hostname does a DNS lookup of hostname and returns the resulting IP address. The implemenation sequentializes all calls so that only a single call is active at a time. The is because we've observed thread safety issues with certain versions of winbind using "wins" name resolution.