The socket polling state structure. The structure contains an array of client sockets, and a socket counter with sockets that are ready to receive data. More...
#include <socketbase.h>
Data Fields | |
qsc_socket ** | sockarr |
void(* | callback )(qsc_socket *sock, size_t id) |
void(* | error )(qsc_socket *sock, qsc_socket_exceptions exception) |
uint32_t | count |
The socket polling state structure. The structure contains an array of client sockets, and a socket counter with sockets that are ready to receive data.
void(* callback) (qsc_socket *sock, size_t id) |
A pointer to a callback function
uint32_t count |
The number of active sockets
void(* error) (qsc_socket *sock, qsc_socket_exceptions exception) |
A pointer to an error function
qsc_socket** sockarr |
A pointer to an array of sockets