Index: sdk/lib/io/socket.dart |
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart |
index c5b4b8d005093ffeb04bb8aeb52b40d0f41058d8..ce8ace5476635829bccca0e2998141e430cfa8bf 100644 |
--- a/sdk/lib/io/socket.dart |
+++ b/sdk/lib/io/socket.dart |
@@ -202,6 +202,11 @@ abstract class RawServerSocket implements Stream<RawSocket> { |
int get port; |
/** |
+ * Returns the address used by this socket. |
+ */ |
+ InternetAddress get address; |
+ |
+ /** |
* Closes the socket. The returned future completes when the socket |
* is fully closed and is no longer bound. |
*/ |
@@ -258,6 +263,11 @@ abstract class ServerSocket implements Stream<Socket> { |
int get port; |
/** |
+ * Returns the address used by this socket. |
+ */ |
+ InternetAddress get address; |
+ |
+ /** |
* Closes the socket. The returned future completes when the socket |
* is fully closed and is no longer bound. |
*/ |