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

Unified Diff: dart/sdk/lib/io/socket.dart

Issue 913753002: Reland "Introduce optional 'bool shared' parameter to ServerSocket.bind() ..." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 5 years, 10 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 | « dart/sdk/lib/io/secure_server_socket.dart ('k') | dart/tests/standalone/io/socket_bind_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/io/socket.dart
diff --git a/dart/sdk/lib/io/socket.dart b/dart/sdk/lib/io/socket.dart
index 70c68a0ecf066dea8362755bcf7bc5236101da22..08f973e695c476a2a18b60fe195518f2140de251 100644
--- a/dart/sdk/lib/io/socket.dart
+++ b/dart/sdk/lib/io/socket.dart
@@ -227,7 +227,8 @@ abstract class RawServerSocket implements Stream<RawSocket> {
external static Future<RawServerSocket> bind(address,
int port,
{int backlog: 0,
- bool v6Only: false});
+ bool v6Only: false,
+ bool shared: false});
/**
* Returns the port used by this socket.
@@ -318,7 +319,8 @@ abstract class ServerSocket implements Stream<Socket> {
external static Future<ServerSocket> bind(address,
int port,
{int backlog: 0,
- bool v6Only: false});
+ bool v6Only: false,
+ bool shared: false});
/**
* Returns the port used by this socket.
« no previous file with comments | « dart/sdk/lib/io/secure_server_socket.dart ('k') | dart/tests/standalone/io/socket_bind_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698