The socket async receive state structure. The structure contains pointers to the originating socket, message and error call-backs, and the message buffer. More...
#include <socketbase.h>
| Data Fields | |
| void(* | callback )(qsc_socket *sock, const uint8_t *message, size_t *msglen) | 
| void(* | error )(const qsc_socket *sock, qsc_socket_exceptions exception) | 
| qsc_socket * | source | 
| uint8_t | buffer [QSC_SOCKET_RECEIVE_BUFFER_SIZE] | 
The socket async receive state structure. The structure contains pointers to the originating socket, message and error call-backs, and the message buffer.
| uint8_t buffer[QSC_SOCKET_RECEIVE_BUFFER_SIZE] | 
A pointer to the message buffer
| void(* callback) (qsc_socket *sock, const uint8_t *message, size_t *msglen) | 
A pointer to a callback function
| void(* error) (const qsc_socket *sock, qsc_socket_exceptions exception) | 
A pointer to an error function
| qsc_socket* source | 
A pointer to the originating socket