| Index: net/udp/datagram_server_socket.h
|
| diff --git a/net/udp/datagram_server_socket.h b/net/udp/datagram_server_socket.h
|
| index 759b0e42709a581bb1b6c27a8290bc2f9a41b3c5..206f2f56e97461e9161e2b53a68f74ca0ccd2634 100644
|
| --- a/net/udp/datagram_server_socket.h
|
| +++ b/net/udp/datagram_server_socket.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -59,6 +59,14 @@ class NET_EXPORT DatagramServerSocket : public DatagramSocket {
|
|
|
| // Set the send buffer size (in bytes) for the socket.
|
| virtual bool SetSendBufferSize(int32 size) = 0;
|
| +
|
| + // Allow the socket to share the local address to which socket will
|
| + // be bound with other processes. Should be called before Listen().
|
| + virtual void AllowAddressReuse() = 0;
|
| +
|
| + // Allow sending and receiving packets sent to and from broadcast
|
| + // addresses. Should be called before Listen().
|
| + virtual void AllowBroadcast() = 0;
|
| };
|
|
|
| } // namespace net
|
|
|