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

Unified Diff: net/udp/udp_server_socket.h

Issue 15995023: Add multicast support to DatagramServerSocket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
Index: net/udp/udp_server_socket.h
diff --git a/net/udp/udp_server_socket.h b/net/udp/udp_server_socket.h
index 4f87d24229fe791f751ae8c5477c63f838cf8d29..cc475f4f6b11d375e0270c5de28f1794ab2f42f0 100644
--- a/net/udp/udp_server_socket.h
+++ b/net/udp/udp_server_socket.h
@@ -6,6 +6,7 @@
#define NET_SOCKET_UDP_SERVER_SOCKET_H_
#include "net/base/completion_callback.h"
+#include "net/base/net_util.h"
#include "net/udp/datagram_server_socket.h"
#include "net/udp/udp_socket.h"
@@ -39,6 +40,10 @@ class NET_EXPORT UDPServerSocket : public DatagramServerSocket {
virtual const BoundNetLog& NetLog() const OVERRIDE;
virtual void AllowAddressReuse() OVERRIDE;
virtual void AllowBroadcast() OVERRIDE;
+ virtual int JoinGroup(const IPAddressNumber& group_address) const OVERRIDE;
+ virtual int LeaveGroup(const IPAddressNumber& group_address) const OVERRIDE;
+ virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE;
+ virtual int SetMulticastLoopbackMode(bool loopback) OVERRIDE;
private:
UDPSocket socket_;

Powered by Google App Engine
This is Rietveld 408576698