src/protocols/rendezvous/mdns.h

changeset 8735
01248ea222d3
parent 8636
d49af923e2ce
child 8738
0c6d12b1a014
equal deleted inserted replaced
8734:afa380e9818c 8735:01248ea222d3
150 * 150 *
151 * @param fd The file descriptor of a pre-established socket to 151 * @param fd The file descriptor of a pre-established socket to
152 * be used for sending the outgoing mDNS datagram. 152 * be used for sending the outgoing mDNS datagram.
153 * @param domain This is the domain name you wish to query. It should 153 * @param domain This is the domain name you wish to query. It should
154 * be of the format "_presence._tcp.local" for example. 154 * be of the format "_presence._tcp.local" for example.
155 * @return 0 if sucessful. 155 * @return 0 if successful.
156 */ 156 */
157 int mdns_query(int fd, const char *domain, unsigned short type); 157 int mdns_query(int fd, const char *domain, unsigned short type);
158 158
159 int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength); 159 int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength);
160 int mdns_advertise_ptr(int fd, const char *name, const char *domain); 160 int mdns_advertise_ptr(int fd, const char *name, const char *domain);

mercurial