BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

fnet_mdns_service Struct Reference

fnet_mdns_service Struct Reference
[Fnet_mdns]

The mDNS Service structure defining application-specific service, advertised by the mDNS server. More...

#include <fnet_mdns.h>

Data Fields

const char * service_type
 Service Type.
fnet_uint16_t service_port
 Service Port number (in network byte order).
const fnet_uint8_t *(* service_get_txt )(void)
 Call-back function, which returns a pointer to the service TXT record (null-terminated).

Detailed Description

The mDNS Service structure defining application-specific service, advertised by the mDNS server.

See also:
fnet_mdns_service_register()

Definition at line 77 of file fnet_mdns.h.


Field Documentation

const fnet_uint8_t*(* service_get_txt)(void)

Call-back function, which returns a pointer to the service TXT record (null-terminated).

If the service does not provide any TXT record, this parameter must be set to NULL.

Definition at line 81 of file fnet_mdns.h.

fnet_uint16_t service_port

Service Port number (in network byte order).

Definition at line 80 of file fnet_mdns.h.

const char* service_type

Service Type.

Null-terminated string. Example "_http._tcp".

Definition at line 79 of file fnet_mdns.h.