W60X_Arduino: DNSServer Class Reference

Arduino W60X

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]portSpecify the server's dns port
[in]domainNameSepcify the server's dns name
[in]resolvedIPUnused 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]domainNamespecify the server's dns name
Returns
If the operation executes success, true is returned, otherwise, false is returned.
Note

◆ stop()

void DNSServer::stop ( )

This function is used to Stop DNS Server.

Returns
None
Note
Generated by   doxygen 1.8.14