Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Multicast DNS (RFC 6762) Responder.
This is roughly the mDNS equivalent of Dns_server, in that it accepts mDNS query packets and responds with the matching records from a zone file.
The simplest usage is with shared resource records only, which requires the following steps:
The use of unique resource records requires alternative steps:
As per RFC 6762 section 9, if at any time the responder observes a response that conflicts with a record that was previously already confirmed as unique, it restarts the probing sequence. Therefore, it is necessary to invoke the "stop_probe" function to shut down the responder.
type ip_endpoint = Ipaddr.V4.t * int
An endpoint address consisting of an IPv4 address and a UDP port number.
module type TRANSPORT = sig ... end
Encapsulates the dependencies that the responder requires for performing I/O.