summaryrefslogtreecommitdiffstats
path: root/ppapi/api/private/ppb_udp_socket_private.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/api/private/ppb_udp_socket_private.idl')
-rw-r--r--ppapi/api/private/ppb_udp_socket_private.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/ppapi/api/private/ppb_udp_socket_private.idl b/ppapi/api/private/ppb_udp_socket_private.idl
index 4babbb4..083c33d 100644
--- a/ppapi/api/private/ppb_udp_socket_private.idl
+++ b/ppapi/api/private/ppb_udp_socket_private.idl
@@ -8,7 +8,8 @@
*/
label Chrome {
- M17 = 0.2
+ M17 = 0.2,
+ M19 = 0.3
};
interface PPB_UDPSocket_Private {
@@ -27,6 +28,14 @@ interface PPB_UDPSocket_Private {
[in] PP_NetAddress_Private addr,
[in] PP_CompletionCallback callback);
+ /* Returns the address that the socket has bound to. A successful
+ * call to Bind must be called first. Returns PP_FALSE if Bind
+ * fails, or if Close has been called.
+ */
+ [version=0.3]
+ PP_Bool GetBoundAddress([in] PP_Resource udp_socket,
+ [out] PP_NetAddress_Private addr);
+
/* Performs a non-blocking recvfrom call on socket.
* Bind must be called first. |callback| is invoked when recvfrom
* reads data. You must call GetRecvFromAddress to recover the