sig
type socket_domain = Unix.socket_domain
type socket_type = Unix.socket_type
type getaddrinfo_option = Unix.getaddrinfo_option
type addr_info =
Unix.addr_info = {
ai_family : Uwt.Dns.socket_domain;
ai_socktype : Uwt.Dns.socket_type;
ai_protocol : int;
ai_addr : sockaddr;
ai_canonname : string;
}
val getaddrinfo :
host:string ->
service:string ->
Uwt.Dns.getaddrinfo_option list -> Unix.addr_info list uv_result Lwt.t
type getnameinfo_option = Unix.getnameinfo_option
val getnameinfo :
sockaddr ->
Uwt.Dns.getnameinfo_option list -> Unix.name_info uv_result Lwt.t
end