| Index: ppapi/api/dev/ppb_udp_socket_dev.idl
|
| diff --git a/ppapi/api/dev/ppb_udp_socket_dev.idl b/ppapi/api/dev/ppb_udp_socket_dev.idl
|
| index 32ad30a81b21cb64d2aac5a93aa604447ccca020..a4d7d53be8e9c461aa62e2fe869fe52ffe731fb3 100644
|
| --- a/ppapi/api/dev/ppb_udp_socket_dev.idl
|
| +++ b/ppapi/api/dev/ppb_udp_socket_dev.idl
|
| @@ -18,14 +18,17 @@ label Chrome {
|
| enum PP_UDPSocket_Option_Dev {
|
| // 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.
|
| + // This option can only be set before calling 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.
|
| + // This option can only be set before calling Bind().
|
| PP_UDPSOCKET_OPTION_BROADCAST = 1,
|
|
|
| // Specifies the total per-socket buffer space reserved for sends. Value's
|
| // type should be PP_VARTYPE_INT32.
|
| + // This option can only be set after a successful Bind() call.
|
| // Note: This is only treated as a hint for the browser to set the buffer
|
| // size. Even if SetOption() reports that this option has been successfully
|
| // set, the browser doesn't guarantee it will conform to it.
|
| @@ -33,6 +36,7 @@ enum PP_UDPSocket_Option_Dev {
|
|
|
| // Specifies the total per-socket buffer space reserved for receives. Value's
|
| // type should be PP_VARTYPE_INT32.
|
| + // This option can only be set after a successful Bind() call.
|
| // Note: This is only treated as a hint for the browser to set the buffer
|
| // size. Even if SetOption() reports that this option has been successfully
|
| // set, the browser doesn't guarantee it will conform to it.
|
| @@ -93,7 +97,7 @@ interface PPB_UDPSocket_Dev {
|
| void Close([in] PP_Resource udp_socket);
|
|
|
| /**
|
| - * Sets a socket option to |udp_socket|. Should be called before Bind().
|
| + * Sets a socket option on |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
|
|
|