| Index: ppapi/api/ppb_udp_socket.idl
|
| diff --git a/ppapi/api/ppb_udp_socket.idl b/ppapi/api/ppb_udp_socket.idl
|
| index 8226c00dd5c579b246dd0fb46c28dd5c1a85353d..5523176b6eacf4426420bd2fa1d094dfa8495b16 100644
|
| --- a/ppapi/api/ppb_udp_socket.idl
|
| +++ b/ppapi/api/ppb_udp_socket.idl
|
| @@ -56,7 +56,63 @@ enum PP_UDPSocket_Option {
|
| * size. Even if <code>SetOption()</code> succeeds, the browser doesn't
|
| * guarantee it will conform to the size.
|
| */
|
| - PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE = 3
|
| + PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE = 3,
|
| +
|
| + /**
|
| + * Specifies whether the packets sent from the host to the multicast group
|
| + * should be looped back to the host or not. Value's type should be
|
| + * <code>PP_VARTYPE_BOOL</code>.
|
| + * This option can only be set before calling <code>Bind()</code>.
|
| + *
|
| + * This is only supported in version 1.1 of the API (Chrome 41) and later.
|
| + */
|
| + [version=1.1]
|
| + PP_UDPSOCKET_OPTION_MULTICAST_LOOP = 4,
|
| +
|
| + /**
|
| + * Specifies the time-to-live for packets sent to the multicast group. The
|
| + * value should be within 0 to 255 range. The default value is 1 and means
|
| + * that packets will not be routed beyond the local network. Value's type
|
| + * should be <code>PP_VARTYPE_INT32</code>.
|
| + * This option can only be set before calling <code>Bind()</code>.
|
| + *
|
| + * This is only supported in version 1.1 of the API (Chrome 41) and later.
|
| + */
|
| + [version=1.1]
|
| + PP_UDPSOCKET_OPTION_MULTICAST_TTL = 5,
|
| +
|
| + /**
|
| + * Specifies the network interface from which the multicast packets will be
|
| + * sent and received, as specified by <code>PPB_NetworkList</code>. Value's
|
| + * type should be <code>PP_VARTYPE_INT32</code>.
|
| + * This option can only be set before calling <code>Bind()</code>.
|
| + *
|
| + * This is only supported in version 1.1 of the API (Chrome 41) and later.
|
| + */
|
| + [version=1.1]
|
| + PP_UDPSOCKET_OPTION_MULTICAST_IF = 6,
|
| +
|
| + /**
|
| + * Joins the multicast group with given address as specifed by
|
| + * <code>PPB_NetAddress</code> API. Value's type should be
|
| + * <code>PP_VARTYPE_RESOURCE</code>.
|
| + * This option can only be set after a successful <code>Bind()</code> call.
|
| + *
|
| + * This is only supported in version 1.1 of the API (Chrome 41) and later.
|
| + */
|
| + [version=1.1]
|
| + PP_UDPSOCKET_OPTION_MULTICAST_JOIN = 7,
|
| +
|
| + /**
|
| + * Leaves the multicast group with given address as specifed by
|
| + * <code>PPB_NetAddress</code> API. Value's type should be
|
| + * <code>PP_VARTYPE_RESOURCE</code>.
|
| + * This option can only be set after a successful <code>Bind()</code> call.
|
| + *
|
| + * This is only supported in version 1.1 of the API (Chrome 41) and later.
|
| + */
|
| + [version=1.1]
|
| + PP_UDPSOCKET_OPTION_MULTICAST_LEAVE = 8
|
| };
|
|
|
| /**
|
|
|