|
COSA
An Object-Oriented Platform for Arduino Programming
|
#include <DNS.hh>

Public Member Functions | |
| DNS () | |
| DNS (Socket *sock, uint8_t server[4]) | |
| ~DNS () | |
| bool | begin (Socket *sock, uint8_t server[4]) |
| bool | end () |
| int | gethostbyname (const char *hostname, uint8_t ip[4]) |
| int | gethostbyname_P (str_P hostname, uint8_t ip[4]) |
Static Public Attributes | |
| static const uint16_t | PORT = 53 |
Domain Name Server request handler. Allows mapping from symbolic human readable names in dot notation to network addresses.
|
inline |
|
inline |
|
inline |
| bool DNS::begin | ( | Socket * | sock, |
| uint8_t | server[4] | ||
| ) |
| bool DNS::end | ( | ) |
|
inline |
|
inline |
|
static |