#include <DnsServer.h>
|
| DnsServer () |
|
void | setErrorReplyCode (DnsReplyCode replyCode) |
|
void | setTTL (uint32_t ttl) |
|
bool | start (uint16_t port, const String &domainName, const IpAddress &resolvedIP) |
|
void | stop () |
|
virtual bool | listen (int port) |
|
virtual bool | connect (IpAddress ip, uint16_t port) |
|
virtual void | close () |
|
virtual bool | send (const char *data, int length) |
|
bool | sendString (const char *data) |
|
bool | sendString (const String &data) |
|
virtual bool | sendTo (IpAddress remoteIP, uint16_t remotePort, const char *data, int length) |
|
bool | sendStringTo (IpAddress remoteIP, uint16_t remotePort, const char *data) |
|
bool | sendStringTo (IpAddress remoteIP, uint16_t remotePort, const String &data) |
|
◆ DnsServer()
◆ close()
virtual void UdpConnection::close |
( |
| ) |
|
|
virtualinherited |
◆ connect()
◆ initialize()
bool UdpConnection::initialize |
( |
udp_pcb * |
pcb = nullptr | ) |
|
|
protectedinherited |
◆ listen()
virtual bool UdpConnection::listen |
( |
int |
port | ) |
|
|
virtualinherited |
◆ onReceive()
◆ send()
virtual bool UdpConnection::send |
( |
const char * |
data, |
|
|
int |
length |
|
) |
| |
|
virtualinherited |
◆ sendString() [1/2]
bool UdpConnection::sendString |
( |
const char * |
data | ) |
|
|
inlineinherited |
◆ sendString() [2/2]
bool UdpConnection::sendString |
( |
const String & |
data | ) |
|
|
inlineinherited |
◆ sendStringTo() [1/2]
◆ sendStringTo() [2/2]
◆ sendTo()
◆ setErrorReplyCode()
◆ setTTL()
void DnsServer::setTTL |
( |
uint32_t |
ttl | ) |
|
|
inline |
◆ start()
◆ staticOnReceive()
static void UdpConnection::staticOnReceive |
( |
void * |
arg, |
|
|
struct udp_pcb * |
pcb, |
|
|
struct pbuf * |
p, |
|
|
LWIP_IP_ADDR_T * |
addr, |
|
|
u16_t |
port |
|
) |
| |
|
staticprotectedinherited |
◆ stop()
◆ onDataCallback
◆ udp
udp_pcb* UdpConnection::udp = nullptr |
|
protectedinherited |
The documentation for this class was generated from the following file: