Chromium Code Reviews| Index: sdk/lib/io/socket.dart |
| diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart |
| index b64eb75f30dc26d40b274029a06f460a832ce7e4..69c3aee1989af86912c746d162765306934cc2b8 100644 |
| --- a/sdk/lib/io/socket.dart |
| +++ b/sdk/lib/io/socket.dart |
| @@ -450,8 +450,8 @@ abstract class RawSocket implements Stream<RawSocketEvent> { |
| * |
| * [host] can either be a [String] or an [InternetAddress]. If [host] is a |
| * [String], [connect] will perform a [InternetAddress.lookup] and try |
| - * all returned [InternetAddress]es, in turn, until connected. Unless a |
| - * connection was established, the error from the first attempt is |
| + * all returned [InternetAddress]es, until connected. Unless a |
| + * connection was established, the error from the first failing connection is |
| * returned. |
| */ |
| external static Future<RawSocket> connect(host, int port); |
| @@ -543,10 +543,9 @@ abstract class Socket implements Stream<List<int>>, IOSink { |
| * |
| * [host] can either be a [String] or an [InternetAddress]. If [host] is a |
| * [String], [connect] will perform a [InternetAddress.lookup] and try |
| - * all returned [InternetAddress]es, in turn, until connected. Unless a |
| - * connection was established, the error from the first attempt is |
| - * returned. |
| - */ |
| + * all returned [InternetAddress]es, until connected. Unless a |
| + * connection was established, the error from the first failing connection is |
| + * returned. */ |
|
Søren Gjesse
2014/08/05 10:24:14
*/ on new line.
Anders Johnsen
2014/08/06 05:10:32
Done.
|
| external static Future<Socket> connect(host, int port); |
| /** |