A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dnsquery.h
- Revision:
- 13:9cd54f7db57a
- Child:
- 37:793b39683406
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udp/dns/dnsquery.h Mon May 01 18:20:55 2017 +0000 @@ -0,0 +1,15 @@ +extern uint32_t DnsQueryIp4; +extern char DnsQueryIp6[]; +extern char DnsQueryName[]; + +extern void DnsQueryTick(); + +extern bool DnsQueryIsBusy; + +extern void DnsQueryIp4FromName(char * name, int type); +extern void DnsQueryNameFromIp4(uint32_t ip, int type); + +extern void DnsQueryIp6FromName(char * name, int type); +extern void DnsQueryNameFromIp6(char* ip, int type); + +extern int DnsQueryPoll(int* pSize);