Index: ppapi/c/dev/ppb_udp_socket_dev.h |
diff --git a/ppapi/c/dev/ppb_udp_socket_dev.h b/ppapi/c/dev/ppb_udp_socket_dev.h |
index 5aba58070b08b22a53b9eb790486746c7b35ca62..8b92929184357508a3129630c4cfea91a2dbafad 100644 |
--- a/ppapi/c/dev/ppb_udp_socket_dev.h |
+++ b/ppapi/c/dev/ppb_udp_socket_dev.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From dev/ppb_udp_socket_dev.idl modified Thu Jun 13 09:38:45 2013. */ |
+/* From dev/ppb_udp_socket_dev.idl modified Sat Jun 15 15:22:39 2013. */ |
#ifndef PPAPI_C_DEV_PPB_UDP_SOCKET_DEV_H_ |
#define PPAPI_C_DEV_PPB_UDP_SOCKET_DEV_H_ |
@@ -32,10 +32,12 @@ |
*/ |
typedef enum { |
/* Allows the socket to share the local address to which it will be bound with |
- * other processes. Value's type should be PP_VARTYPE_BOOL. */ |
+ * other processes. Value's type should be PP_VARTYPE_BOOL. |
+ * Takes effect if set before Bind(). */ |
PP_UDPSOCKET_OPTION_ADDRESS_REUSE = 0, |
/* Allows sending and receiving packets to and from broadcast addresses. |
- * Value's type should be PP_VARTYPE_BOOL. */ |
+ * Value's type should be PP_VARTYPE_BOOL. |
+ * Takes effect if set before Bind(). */ |
PP_UDPSOCKET_OPTION_BROADCAST = 1, |
/* Specifies the total per-socket buffer space reserved for sends. Value's |
* type should be PP_VARTYPE_INT32. |
@@ -106,7 +108,7 @@ struct PPB_UDPSocket_Dev_0_1 { |
*/ |
void (*Close)(PP_Resource udp_socket); |
/** |
- * Sets a socket option to |udp_socket|. Should be called before Bind(). |
+ * Sets a socket option to |udp_socket|. |
* See the PP_UDPSocket_Option_Dev description for option names, value types |
* and allowed values. |
* Returns PP_OK on success. Otherwise, returns PP_ERROR_BADRESOURCE (if bad |