Module simple_mdns::conversion_utils[][src]

Expand description

Provides helper functions to convert net addresses to resource records

Functions

ip_addr_to_resource_record

Convert the addr to an A (IpV4) or AAAA (IpV6) record

port_to_srv_record

Convert the port to an SRV record. The provided name will be used as resource name and target

socket_addr_to_srv_and_address

Convert the socket address to a SRV and an A (IpV4) or AAAA (IpV6) record, the return will be a tuple where the SRV is the first item