| Index: net/udp/udp_client_socket.cc
|
| diff --git a/net/udp/udp_client_socket.cc b/net/udp/udp_client_socket.cc
|
| index f6f904a6beb9f72c448c15caf97572454637653c..9cdaacebb10229a29d6ca4f1182d209368f023a2 100644
|
| --- a/net/udp/udp_client_socket.cc
|
| +++ b/net/udp/udp_client_socket.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "net/udp/udp_client_socket.h"
|
|
|
| +#include "net/base/net_errors.h"
|
| #include "net/base/net_log.h"
|
|
|
| namespace net {
|
| @@ -19,6 +20,9 @@ UDPClientSocket::~UDPClientSocket() {
|
| }
|
|
|
| int UDPClientSocket::Connect(const IPEndPoint& address) {
|
| + int rv = socket_.Open(address.GetFamily());
|
| + if (rv != OK)
|
| + return rv;
|
| return socket_.Connect(address);
|
| }
|
|
|
|
|