Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: pkg/mdns/lib/src/constants.dart

Issue 1416833009: Add multiple results and timeout handling to the Mac OS mDNS native extension (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Addressed review comments and added new SHA1 for native extension Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/mdns/lib/src/constants.dart
diff --git a/pkg/mdns/lib/src/constants.dart b/pkg/mdns/lib/src/constants.dart
index a94aa6c01c4c4d50ce5073d9d5345350fbfc42de..2d0e03b7de81b89ca1799648bb77d91742215629 100644
--- a/pkg/mdns/lib/src/constants.dart
+++ b/pkg/mdns/lib/src/constants.dart
@@ -19,6 +19,8 @@ const int arcountOffset = 10;
const int headerSize = 12;
+const int srvHeaderSize = 6;
+
const int responseFlags = 0x8400;
class RRType {

Powered by Google App Engine
This is Rietveld 408576698