package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.0.2.tar.gz
sha256=1c4a49f4cffc017fff8a47563653f5a9ed4007bbd6705fd9737a211ff3d864e2
md5=25fbbf9b39c072f9667e6fdfba108556

doc/uwt.async/Uwt/Dns/index.html

Module Uwt.Dns

libuv provides asynchronous variants of getaddrinfo and getnameinfo.

val getaddrinfo : host:string -> service:string -> Unix.getaddrinfo_option list -> Unix.addr_info list uv_result Lwt.t

Asynchronous getaddrinfo(3).

Either node or service may be NULL but not both.

Be careful: getaddrinfo returns raw error codes, whereas Unix.getaddrinfo returns the empty list

type getnameinfo_option = Unix.getnameinfo_option

Asynchronous getnameinfo(3).