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

Unified Diff: runtime/bin/socket_win.cc

Issue 10014037: Fix win32 Socket test errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/bin/socket_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_win.cc
===================================================================
--- runtime/bin/socket_win.cc (revision 6377)
+++ runtime/bin/socket_win.cc (working copy)
@@ -2,10 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#include <mswsock.h>
-
#include "bin/builtin.h"
#include "bin/eventhandler.h"
#include "bin/socket.h"
@@ -55,7 +51,6 @@
bool Socket::GetRemotePeer(intptr_t fd, char *host, intptr_t *port) {
- ASSERT(DART_INET_ADDRSTRLEN >= INET_ADDRSTRLEN);
ASSERT(reinterpret_cast<Handle*>(fd)->is_socket());
SocketHandle* socket_handle = reinterpret_cast<SocketHandle*>(fd);
struct sockaddr_in socket_address;
« no previous file with comments | « runtime/bin/socket_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698