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

Unified Diff: runtime/bin/socket.h

Issue 25511002: Add reusePort argument to ServerSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Mac os X version. Created 7 years, 3 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
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index 63fc5ef94279b532af1b2296af5b0c44b239d5d4..a32090c3726f2c2b072a32a00ca29ac9a38d4121 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -220,7 +220,8 @@ class ServerSocket {
static intptr_t CreateBindListen(RawAddr addr,
intptr_t port,
intptr_t backlog,
- bool v6_only = false);
+ bool v6_only = false,
+ bool reuse_port = false);
private:
DISALLOW_ALLOCATION();
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698