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..698b1bd8a506f9ef3c73c26056caf7c491d4362f 100644 |
--- a/net/udp/datagram_server_socket.h |
+++ b/net/udp/datagram_server_socket.h |
@@ -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; |
+ |
+ // Allows the socket to share the local address to which socket will |
+ // be bound with other sockets. Should be called before Listen. |
Sergey Ulanov
2012/07/12 18:15:37
nit: s/Listen/Listen()/
wtc
2012/07/12 23:49:47
It would be nice to point out that this is often a
ygorshenin1
2012/07/16 10:29:44
Done.
ygorshenin1
2012/07/16 10:29:44
Done.
|
+ virtual void AllowAddressReuse() = 0; |
+ |
+ // Makes the socket ready for broadcasting. Should be called before |
Sergey Ulanov
2012/07/12 18:15:37
This comment is not very clear. Suggest "Allow sen
ygorshenin1
2012/07/16 10:29:44
Done.
|
+ // Listen. |
Sergey Ulanov
2012/07/12 18:15:37
nit: s/Listen/Listen()/
ygorshenin1
2012/07/16 10:29:44
Done.
|
+ virtual void AllowBroadcast() = 0; |
}; |
} // namespace net |