blob: 2a222649b64d433a7cd8e541a88dd3537817f573 [file] [log] [blame]
// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:io';
/// The IPv4 mDNS Address.
final InternetAddress mDnsAddressIPv4 = InternetAddress('224.0.0.251');
/// The IPv6 mDNS Address.
final InternetAddress mDnsAddressIPv6 = InternetAddress('FF02::FB');
/// The mDNS port.
const int mDnsPort = 5353;
/// Enumeration of supported resource record class types.
class ResourceRecordClass {
// This class is intended to be used as a namespace, and should not be
// extended directly.
factory ResourceRecordClass._() => null;
/// Internet address class ("IN").
static const int internet = 1;
}
/// Enumeration of DNS question types.
class QuestionType {
// This class is intended to be used as a namespace, and should not be
// extended directly.
factory QuestionType._() => null;
/// "QU" Question.
static const int unicast = 0x8000;
/// "QM" Question.
static const int multicast = 0x0000;
}