Index: mojo/services/network/public/cpp/udp_socket_wrapper.cc |
diff --git a/mojo/services/network/public/cpp/udp_socket_wrapper.cc b/mojo/services/network/public/cpp/udp_socket_wrapper.cc |
index f82b330762c320125238b4540177e0597e164aa0..8d8b7ea7d0cfdd0c6780397a8efdaa3634ad2d5f 100644 |
--- a/mojo/services/network/public/cpp/udp_socket_wrapper.cc |
+++ b/mojo/services/network/public/cpp/udp_socket_wrapper.cc |
@@ -85,6 +85,12 @@ void UDPSocketWrapper::Bind( |
socket_->Bind(addr.Pass(), callback); |
} |
+void UDPSocketWrapper::Connect( |
+ NetAddressPtr remote_addr, |
+ const Callback<void(NetworkErrorPtr, NetAddressPtr)>& callback) { |
+ socket_->Connect(remote_addr.Pass(), callback); |
+} |
+ |
void UDPSocketWrapper::SetSendBufferSize(uint32_t size, |
const ErrorCallback& callback) { |
socket_->SetSendBufferSize(size, callback); |