W60X_Arduino
|
DNSServer Class Reference
Public Member Functions | |
bool | start (const uint16_t &port, const char *domainName, const char *resolvedIP) |
This function is used to start DNS Server. More... | |
bool | start (const char *domainName) |
This function is used to start DNS Server with some default arguements in port and resolvedIP. More... | |
void | stop () |
This function is used to Stop DNS Server. More... | |
Member Function Documentation
◆ start() [1/2]
bool DNSServer::start | ( | const uint16_t & | port, |
const char * | domainName, | ||
const char * | resolvedIP | ||
) |
This function is used to start DNS Server.
- Parameters
-
[in] port Specify the server's dns port [in] domainName Sepcify the server's dns name [in] resolvedIP Unused arguement.
- Returns
- If the operation executes success, true is returned, otherwise, false is returned.
- Note
◆ start() [2/2]
bool DNSServer::start | ( | const char * | domainName | ) |
This function is used to start DNS Server with some default arguements in port and resolvedIP.
- Parameters
-
[in] domainName specify the server's dns name
- Returns
- If the operation executes success, true is returned, otherwise, false is returned.
- Note
◆ stop()
void DNSServer::stop | ( | ) |
Generated by 1.8.14