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

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

Issue 59213003: Rename remoteHost to remoteAddress on *Socket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added mac/win/android versions. Created 7 years, 1 month 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 | « sdk/lib/io/secure_socket.dart ('k') | tests/standalone/io/http_connection_info_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index ce8ace5476635829bccca0e2998141e430cfa8bf..f821d8b7715ccde725f79beebc9cd5191323af46 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -381,9 +381,9 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
InternetAddress get address;
/**
- * Returns the remote host connected to by this socket.
+ * Returns the remote [InternetAddress] connected to by this socket.
*/
- String get remoteHost;
+ InternetAddress get remoteAddress;
/**
* Closes the socket. Returns a Future that completes with [this] when the
@@ -427,9 +427,9 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
}
/**
- * A high-level class for communicating over a TCP socket.
+ * A high-level class for communicating over a TCP socket.
*
- * The [Socket] exposes both a [Stream] and a [IOSink] interface, making it
+ * The [Socket] exposes both a [Stream] and a [IOSink] interface, making it
* ideal for using together with other [Stream]s.
*/
abstract class Socket implements Stream<List<int>>, IOSink {
@@ -478,9 +478,9 @@ abstract class Socket implements Stream<List<int>>, IOSink {
InternetAddress get address;
/**
- * Returns the remote host connected to by this socket.
+ * Returns the remote [InternetAddress] connected to by this socket.
*/
- String get remoteHost;
+ InternetAddress get remoteAddress;
}
« no previous file with comments | « sdk/lib/io/secure_socket.dart ('k') | tests/standalone/io/http_connection_info_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698