Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_TCPSocket_1_1 Struct Reference

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsTCPSocket )(PP_Resource resource)
 
int32_t(* Bind )(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)
 
int32_t(* Connect )(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback)
 
PP_Resource(* GetLocalAddress )(PP_Resource tcp_socket)
 
PP_Resource(* GetRemoteAddress )(PP_Resource tcp_socket)
 
int32_t(* Read )(PP_Resource tcp_socket, char *buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback)
 
int32_t(* Write )(PP_Resource tcp_socket, const char *buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback)
 
int32_t(* Listen )(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback callback)
 
int32_t(* Accept )(PP_Resource tcp_socket, PP_Resource *accepted_tcp_socket, struct PP_CompletionCallback callback)
 
void(* Close )(PP_Resource tcp_socket)
 
int32_t(* SetOption )(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback)
 

The documentation for this struct was generated from the following file: