module Host:sig..end
type t = {
|
name : |
|
aliases : |
|
family : |
|
addresses : |
hosts database.val getbyname : string -> t optionhosts with the given name.
NOTE: This function is not thread safe with certain versions of winbind using "wins"
name resolution.
val getbyname_exn : string -> tval getbyaddr : Unix.Inet_addr.t -> t optionhosts with the given address.val getbyaddr_exn : Unix.Inet_addr.t -> tval have_address_in_common : t -> t -> boolval sexp_of_t : t -> Sexplib.Sexp.thosts with the given name.
NOTE: This function is not thread safe with certain versions of winbind using "wins"
name resolution.
Find an entry in hosts with the given address.