| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 
|  | 2 // for details. All rights reserved. Use of this source code is governed by a | 
|  | 3 // BSD-style license that can be found in the LICENSE file. | 
|  | 4 | 
|  | 5 library mdns.src.constants; | 
|  | 6 | 
|  | 7 import 'dart:io'; | 
|  | 8 | 
|  | 9 InternetAddress mDnsAddress = new InternetAddress('224.0.0.251'); | 
|  | 10 const int mDnsPort = 5353; | 
|  | 11 | 
|  | 12 // Offsets into the header. See https://tools.ietf.org/html/rfc1035. | 
|  | 13 const int idOffset = 0; | 
|  | 14 const int flagsOffset = 2; | 
|  | 15 const int qdcountOffset = 4; | 
|  | 16 const int ancountOffset = 6; | 
|  | 17 const int nscountOffset = 8; | 
|  | 18 const int arcountOffset = 10; | 
|  | 19 | 
|  | 20 const int headerSize = 12; | 
|  | 21 | 
|  | 22 const int responseFlags = 0x8400; | 
|  | 23 | 
|  | 24 const int ipV4AddressType = 0x0001; | 
|  | 25 const int ipV4Class = 0x8001; | 
|  | 26 const int ipV6AddressType = 0x001c; | 
|  | 27 const int ipV6Class = 0x8001; | 
| OLD | NEW | 
|---|