Skip to content

Struct SYN_DnsSd_Service

ClassList > SYN_DnsSd_Service

DNS-SD Service Definition.

  • #include <syn_dnssd.h>

Public Attributes

Type Name
const char * hostname
const char * instance_name
uint8_t ip
uint16_t port
const char * service_type
size_t txt_count
const char * txt_records

Public Attributes Documentation

variable hostname

const char* SYN_DnsSd_Service::hostname;

Target Hostname without .local (e.g. "node")


variable instance_name

const char* SYN_DnsSd_Service::instance_name;

Service Instance Name (e.g. "Syntropic Node")


variable ip

uint8_t SYN_DnsSd_Service::ip[4];

IPv4 address to announce


variable port

uint16_t SYN_DnsSd_Service::port;

TCP/UDP Port number (e.g. 80)


variable service_type

const char* SYN_DnsSd_Service::service_type;

Service Type (e.g. "_http._tcp")


variable txt_count

size_t SYN_DnsSd_Service::txt_count;

Number of TXT strings


variable txt_records

const char* SYN_DnsSd_Service::txt_records[SYN_DNSSD_MAX_TXT_RECORDS];

Key-value TXT strings



The documentation for this class was generated from the following file src/syntropic/net/syn_dnssd.h