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

Unified Diff: runtime/bin/dbg_connection.cc

Issue 14036017: Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months 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 | « pkg/http/test/utils.dart ('k') | runtime/bin/secure_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection.cc
diff --git a/runtime/bin/dbg_connection.cc b/runtime/bin/dbg_connection.cc
index 381c5d349d3f9892f28cadc1a1cd64f5e8017bba..4a96eb2a88ed20473aa87f57a6df069cd06fe0d7 100644
--- a/runtime/bin/dbg_connection.cc
+++ b/runtime/bin/dbg_connection.cc
@@ -294,11 +294,7 @@ void DebuggerConnectionHandler::StartHandler(const char* address,
// listen, accept connections from debuggers, read and handle/dispatch
// debugger commands received on these connections.
ASSERT(listener_fd_ == -1);
-
- OSError *os_error;
- SocketAddresses* addresses = Socket::LookupAddress(address, -1, &os_error);
- listener_fd_ = ServerSocket::CreateBindListen(
- addresses->GetAt(0)->addr(), port_number, 1);
+ listener_fd_ = ServerSocket::CreateBindListen(address, port_number, 1);
DebuggerConnectionImpl::StartHandler(port_number);
}
« no previous file with comments | « pkg/http/test/utils.dart ('k') | runtime/bin/secure_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698