Chromium Code Reviews| Index: sdk/lib/io/socket.dart |
| diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart |
| index 040cf39424f06e9ae15935757477026970d4b65d..e8c87f38ee48fe9631d01d91d8a116796e69004d 100644 |
| --- a/sdk/lib/io/socket.dart |
| +++ b/sdk/lib/io/socket.dart |
| @@ -99,6 +99,16 @@ abstract class InternetAddress { |
| String host, {InternetAddressType type: InternetAddressType.ANY}); |
| } |
| +class NetworkAdaptor { |
|
Søren Gjesse
2013/06/10 12:26:38
We should call this NetworkInterface.
Anders Johnsen
2013/06/20 13:42:08
Done.
|
| + String name; |
| + |
| + List<InternetAddress> addresses; |
| + |
| + external static Future<List<NetworkAdaptor>> list({ |
| + bool includeLoopback: false, |
| + InternetAddressType type: InternetAddressType.ANY}); |
|
Søren Gjesse
2013/06/10 12:26:38
I think we should add a flag here to filter out li
Anders Johnsen
2013/06/20 13:42:08
Done.
|
| +} |
| + |
| /** |
| * A [RawServerSocket] represents a listening socket, and provides a |
| * stream of low-level [RawSocket] objects, one for each connection |