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

Unified Diff: net/udp/udp_server_socket.h

Issue 10739002: Added broadcasting feature to UDP server sockets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed Win code. Created 8 years, 5 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 56a545980b4499ce5780fb773676d0021a74aa7d..c9baad32f28ad4bb6d7ace94c3f6067a6d582a5e 100644
--- a/net/udp/udp_server_socket.h
+++ b/net/udp/udp_server_socket.h
@@ -37,6 +37,8 @@ class NET_EXPORT UDPServerSocket : public DatagramServerSocket {
virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
virtual const BoundNetLog& NetLog() const OVERRIDE;
+ virtual void AllowAddressReuse() OVERRIDE;
+ virtual void AllowBroadcast() OVERRIDE;
private:
UDPSocket socket_;

Powered by Google App Engine
This is Rietveld 408576698