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

Side by Side Diff: net/udp/udp_server_socket.h

Issue 721273002: Remove timing limitation to set Broadcast, ReceiveBuffer, and SendBuffer options from UDPSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « net/udp/udp_client_socket.cc ('k') | net/udp/udp_server_socket.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SOCKET_UDP_SERVER_SOCKET_H_ 5 #ifndef NET_SOCKET_UDP_SERVER_SOCKET_H_
6 #define NET_SOCKET_UDP_SERVER_SOCKET_H_ 6 #define NET_SOCKET_UDP_SERVER_SOCKET_H_
7 7
8 #include "net/base/completion_callback.h" 8 #include "net/base/completion_callback.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 #include "net/udp/datagram_server_socket.h" 10 #include "net/udp/datagram_server_socket.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int JoinGroup(const IPAddressNumber& group_address) const override; 42 int JoinGroup(const IPAddressNumber& group_address) const override;
43 int LeaveGroup(const IPAddressNumber& group_address) const override; 43 int LeaveGroup(const IPAddressNumber& group_address) const override;
44 int SetMulticastInterface(uint32 interface_index) override; 44 int SetMulticastInterface(uint32 interface_index) override;
45 int SetMulticastTimeToLive(int time_to_live) override; 45 int SetMulticastTimeToLive(int time_to_live) override;
46 int SetMulticastLoopbackMode(bool loopback) override; 46 int SetMulticastLoopbackMode(bool loopback) override;
47 int SetDiffServCodePoint(DiffServCodePoint dscp) override; 47 int SetDiffServCodePoint(DiffServCodePoint dscp) override;
48 void DetachFromThread() override; 48 void DetachFromThread() override;
49 49
50 private: 50 private:
51 UDPSocket socket_; 51 UDPSocket socket_;
52 bool allow_address_reuse_;
53 bool allow_broadcast_;
52 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket); 54 DISALLOW_COPY_AND_ASSIGN(UDPServerSocket);
53 }; 55 };
54 56
55 } // namespace net 57 } // namespace net
56 58
57 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_ 59 #endif // NET_SOCKET_UDP_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/udp/udp_client_socket.cc ('k') | net/udp/udp_server_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698