mDNS

Dependents:   OS

This is a mDNS server.

Revision:
2:2b00b659497a
Parent:
1:163dc87e95c3
Child:
3:25a82eb200c7
--- a/mDNSResponder.cpp	Tue Aug 11 17:11:58 2015 +0000
+++ b/mDNSResponder.cpp	Fri Aug 14 12:26:23 2015 +0000
@@ -9,7 +9,7 @@
     ----------------------------------------------------
     More progressed things than others :
     {
-        Parsing multi-Query (OK),
+        Parsing multi-records (OK),
         Check duplicated host and avoid (OK)
     }
     
@@ -21,9 +21,7 @@
     ----------------------------------------------------
     Notes :
         srv-instance-name = host-name
-        SEP-<rand 2byte><IP-hex 2byte>
-        There are some problems about lose-connection because
-        MBED-netsocketIFs are unstable (I think).
+        SEP-<rand 2hex><IP 2hex>
     ----------------------------------------------------
 */
 
@@ -84,14 +82,6 @@
     },
 };
 
-char mDNSResponder::
-PTR_query_name[PTR_QUERY_NAME_LEN] = 
-{
-    0x05, 0x5f, 
-    0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63,
-    0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00,
-};
-
 struct dns_hdr mDNSResponder::SD_res_hdr =
 {
     .id = 0x0000,