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

Unified Diff: runtime/bin/socket.h

Issue 14766003: Add v6Only named argument to ServerSocket and etc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge Created 7 years, 8 months 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: runtime/bin/socket.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index 99a00781bf51e2991b4334a41689a83847054d30..5c191a01541d8becec1ab341baca69c1377e0390 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -176,7 +176,8 @@ class ServerSocket {
// -5: invalid bindAddress
static intptr_t CreateBindListen(RawAddr addr,
intptr_t port,
- intptr_t backlog);
+ intptr_t backlog,
+ bool v6_only = false);
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(ServerSocket);
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/socket.cc » ('j') | runtime/bin/socket_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698