5 #ifndef PPAPI_CPP_PRIVATE_UDP_SOCKET_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_UDP_SOCKET_PRIVATE_H_
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/private/ppb_udp_socket_private.h"
14 class CompletionCallback;
23 static bool IsAvailable();
25 int32_t SetSocketFeature(PP_UDPSocketFeature_Private name,
const Var& value);
26 int32_t Bind(
const PP_NetAddress_Private* addr,
28 bool GetBoundAddress(PP_NetAddress_Private* addr);
29 int32_t RecvFrom(
char* buffer,
32 bool GetRecvFromAddress(PP_NetAddress_Private* addr);
33 int32_t SendTo(
const char* buffer,
35 const PP_NetAddress_Private* addr,
42 #endif // PPAPI_CPP_PRIVATE_UDP_SOCKET_PRIVATE_H_
Definition: udp_socket_private.h:18
Definition: completion_callback.h:26
Definition: instance_handle.h:44
A generic type used for passing data types between the module and the page.
Definition: var.h:23
A reference counted module resource.
Definition: resource.h:20