Sming Framework API
(1.2.0-1146-g7bc3603e)
Toggle main menu visibility
Sming
Components
mdns
include
Network
Mdns
Responder.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Service.h
"
4
5
namespace
mDNS
6
{
7
class
Responder
8
{
9
public
:
15
bool
begin
(
const
String
& hostname);
16
22
void
end
();
23
32
bool
addService
(
Service
& svc);
33
39
bool
restart
();
40
41
private
:
42
#if LWIP_VERSION_MAJOR == 1
43
String
hostname;
44
Service
* service =
nullptr
;
45
#endif
46
};
47
48
}
// namespace mDNS
mDNS::Responder
Definition:
Responder.h:7
mDNS::Responder::begin
bool begin(const String &hostname)
Initialise the responder.
String
The String class.
Definition:
WString.h:136
mDNS
Definition:
Responder.h:5
mDNS::Service
Definition:
Service.h:23
mDNS::Responder::end
void end()
Stop the responder.
Service.h
mDNS::Responder::addService
bool addService(Service &svc)
Add a service object.
mDNS::Responder::restart
bool restart()
Restart a running stack.
Generated by
1.8.13