mDNS::Responder Class Reference

#include <Responder.h>

Public Member Functions

bool begin (const String &hostname)
 Initialise the responder. More...
 
void end ()
 Stop the responder. More...
 
bool addService (Service &svc)
 Add a service object. More...
 
bool restart ()
 Restart a running stack. More...
 

Member Function Documentation

◆ addService()

bool mDNS::Responder::addService ( Service svc)

Add a service object.

Responder doesn't own the object, must remain in scope

Parameters
svcService object
Return values
booltrue on success

◆ begin()

bool mDNS::Responder::begin ( const String hostname)

Initialise the responder.

Parameters
hostname
Return values
booltrue on success

◆ end()

void mDNS::Responder::end ( )

Stop the responder.

Must reinitialise the stack again to restart

◆ restart()

bool mDNS::Responder::restart ( )

Restart a running stack.

Call when IP address changes, for example.


The documentation for this class was generated from the following file: