package dnssd
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=1b1ff7e0a1ad59a5e48587cda16054f3ab898e5eff9e5856d6fe93745f8fbb03
md5=8208d2ee22d572ea42da2a1e258c5d5a
doc/dnssd/Dnssd/index.html
Module Dnssd
* Copyright (C) 2017 Docker Inc <dave.scott@docker.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
Bindings to the macOS DNS SD API
These functions allow DNS queries to be made via the macOS resolver.
is_supported_on_this_platform () is true if this library is supported on this platform. On other platforms the APIs may throw runtime failures.
type error = | Unknown| NoSuchName| NoMemory| BadParam| BadReference| BadState| BadFlags| Unsupported| NotInitialized| AlreadyRegistered| NameConflict| Invalid| Firewall| Incompatible| BadInterfaceIndex| Refused| NoSuchRecord| NoAuth| NoSuchKey| NATTraversal| DoubleNAT| BadTime| BadSig| BadKey| Transient| ServiceNotRunning| NATPortMappingUnsupported| NATPortMappingDisabled| NoRouter| PollingMode| Timeout(*Possible errors from
*)query
val string_of_error : error -> stringval query : string -> Dns.Packet.q_type -> (Dns.Packet.rr list, error) resultquery name ty returns a list of resource records of type ty bound to name
module LowLevel : sig ... endA low-level interface which exposes the Unix domain socket used to talk to the daemon.