Diffusion C API
6.8.3
|
When creating a session which performs a connection to Diffusion asynchronously, these callbacks can be supplied and are invoked when the connection is made successfully, or an error occurs. More...
Data Fields | |
int(* | on_connected )(struct session_s *session) |
A connection has been made to Diffusion successfully. | |
int(* | on_error )(struct session_s *session, DIFFUSION_ERROR_T *error) |
An error has occured with the connection. | |
When creating a session which performs a connection to Diffusion asynchronously, these callbacks can be supplied and are invoked when the connection is made successfully, or an error occurs.