Index: pkg/mdns/lib/src/constants.dart |
diff --git a/pkg/mdns/lib/src/constants.dart b/pkg/mdns/lib/src/constants.dart |
index 8548abcef9d3c092935e45a822937d10b9393a89..a94aa6c01c4c4d50ce5073d9d5345350fbfc42de 100644 |
--- a/pkg/mdns/lib/src/constants.dart |
+++ b/pkg/mdns/lib/src/constants.dart |
@@ -21,7 +21,14 @@ const int headerSize = 12; |
const int responseFlags = 0x8400; |
-const int ipV4AddressType = 0x0001; |
-const int ipV4Class = 0x8001; |
-const int ipV6AddressType = 0x001c; |
-const int ipV6Class = 0x8001; |
+class RRType { |
+ static const int A = 1; |
+ static const int AAAA = 28; |
+ static const int PTR = 12; |
+ static const int SRV = 33; |
+ static const int TXT = 16; |
+} |
+ |
+class RRClass { |
+ static const int IN = 1; |
+} |