Index: ppapi/api/private/ppb_udp_socket_private.idl |
diff --git a/ppapi/api/private/ppb_udp_socket_private.idl b/ppapi/api/private/ppb_udp_socket_private.idl |
index 4babbb4a4dbd915a962d354947fd3f986b5d4823..24f4f2722efe695e412e77a2da10af98021d77b6 100644 |
--- a/ppapi/api/private/ppb_udp_socket_private.idl |
+++ b/ppapi/api/private/ppb_udp_socket_private.idl |
@@ -22,7 +22,10 @@ interface PPB_UDPSocket_Private { |
*/ |
PP_Bool IsUDPSocket([in] PP_Resource resource_id); |
- /* Creates a socket and binds to the address given by |addr|. */ |
+ /* Creates a socket and binds to the address given by |addr|. |
+ * Returns the port number that the socket is bound to on |
+ * success, 0 on failure |
+ */ |
int32_t Bind([in] PP_Resource udp_socket, |
[in] PP_NetAddress_Private addr, |
yzshen1
2012/01/27 18:41:07
- Isn't the port information included in |addr| it
|
[in] PP_CompletionCallback callback); |