Index: sdk/lib/io/secure_server_socket.dart |
diff --git a/sdk/lib/io/secure_server_socket.dart b/sdk/lib/io/secure_server_socket.dart |
index 2a7341811aedfb6365fba92a260db4b93570faeb..b4a7ea46006364f36ca4a14b4d8b946eb569e2f7 100644 |
--- a/sdk/lib/io/secure_server_socket.dart |
+++ b/sdk/lib/io/secure_server_socket.dart |
@@ -58,6 +58,14 @@ class SecureServerSocket extends Stream<SecureSocket> { |
* To check whether a client certificate was received, check |
* SecureSocket.peerCertificate after connecting. If no certificate |
* was received, the result will be null. |
+ * |
+ * The optional argument [shared] specify whether additional binds |
+ * to the same `address`, `port` and `v6Only` combination is |
+ * possible from the same Dart process. If `shared` is `true` and |
+ * additional binds are preformed, then the incoming (incoming) |
+ * connections will be distributed between that set |
+ * `SecureServerSocket`s. One way of using this is to have number of |
+ * isolates between which incoming connections are distributed. |
kustermann
2015/02/17 11:30:56
preformed -> performed
remove "(incoming)"
Søren Gjesse
2015/02/17 12:53:10
Done.
|
*/ |
static Future<SecureServerSocket> bind( |
address, |
@@ -185,6 +193,14 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> { |
* need to specify both. To check whether a client certificate was received, |
* check SecureSocket.peerCertificate after connecting. If no certificate |
* was received, the result will be null. |
+ * |
+ * The optional argument [shared] specify whether additional binds |
+ * to the same `address`, `port` and `v6Only` combination is |
+ * possible from the same Dart process. If `shared` is `true` and |
+ * additional binds are preformed, then the incoming (accepted) |
+ * connections will be distributed between that set |
+ * `RawSecureServerSocket`s. One way of using this is to have number |
+ * of isolates between which incoming connections are distributed. |
*/ |
static Future<RawSecureServerSocket> bind( |
address, |