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

Unified Diff: net/udp/udp_server_socket.cc

Issue 15995023: Add multicast support to DatagramServerSocket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 7 years, 6 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 | « net/udp/udp_server_socket.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_server_socket.cc
diff --git a/net/udp/udp_server_socket.cc b/net/udp/udp_server_socket.cc
index cec51735d79146c1cf14de5657e283a89d234b50..16e4061f09c3f39175b57adfe4d12805329941d6 100644
--- a/net/udp/udp_server_socket.cc
+++ b/net/udp/udp_server_socket.cc
@@ -69,4 +69,20 @@ void UDPServerSocket::AllowBroadcast() {
socket_.AllowBroadcast();
}
+int UDPServerSocket::JoinGroup(const IPAddressNumber& group_address) const {
+ return socket_.JoinGroup(group_address);
+}
+
+int UDPServerSocket::LeaveGroup(const IPAddressNumber& group_address) const {
+ return socket_.LeaveGroup(group_address);
+}
+
+int UDPServerSocket::SetMulticastTimeToLive(int time_to_live) {
+ return socket_.SetMulticastTimeToLive(time_to_live);
+}
+
+int UDPServerSocket::SetMulticastLoopbackMode(bool loopback) {
+ return socket_.SetMulticastLoopbackMode(loopback);
+}
+
} // namespace net
« no previous file with comments | « net/udp/udp_server_socket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698