diff options
Diffstat (limited to 'net/socket/tcp_client_socket_win.h')
-rw-r--r-- | net/socket/tcp_client_socket_win.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h index 032f1a6..9ad1632 100644 --- a/net/socket/tcp_client_socket_win.h +++ b/net/socket/tcp_client_socket_win.h @@ -5,8 +5,6 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_ -#include <ws2tcpip.h> - #include "base/object_watcher.h" #include "net/base/address_list.h" #include "net/base/completion_callback.h" @@ -30,6 +28,7 @@ class TCPClientSocketWin : public ClientSocket { virtual void Disconnect(); virtual bool IsConnected() const; virtual bool IsConnectedAndIdle() const; + virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen); // Socket methods: // Multiple outstanding requests are not supported. |