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

Revision:
14:e75a59c1123d
Parent:
13:9cd54f7db57a
Child:
15:6ca6778168b1
--- a/udp/dns/dns.h	Mon May 01 18:20:55 2017 +0000
+++ b/udp/dns/dns.h	Fri May 05 17:44:16 2017 +0000
@@ -7,9 +7,12 @@
 extern int  DnsPollForPacketToSend(void* pPacket, int* pSize);
 
 #define DNS_UNICAST_SERVER_PORT     53
-#define DNS_MULTICAST_SERVER_PORT 5353
+#define DNS_UNICAST_CLIENT_PORT  53053
+
+#define DNS_MDNS_PORT             5353
+
 #define DNS_LLMNR_SERVER_PORT     5355
-#define DNS_CLIENT_PORT          53053
+#define DNS_LLMNR_CLIENT_PORT    53055
 
 #define DNS_PROTOCOL_NONE   0
 #define DNS_PROTOCOL_UDNS   1