mte/unikernel/duniverse/ocaml-dns/unix/client/dns_client_unix.mli
2025-11-11 02:07:51 +01:00

18 lines
507 B
OCaml

(** [Unix] helper module for {!Dns_client}.
For more information see the {!Dns_client.Make} functor.
It initializes the RNG (using
[Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna)]).
*)
(** A flow module based on blocking I/O on top of the Unix socket API.
TODO: Implement the connect timeout.
*)
module Transport : Dns_client.S
with type io_addr = Ipaddr.t * int
and type stack = unit
and type +'a io = 'a
include module type of Dns_client.Make(Transport)