QSC Post Quantum Cryptographic Library 1.0.0.6c (A6)
A post quantum secure library written in Ansi C
 
Loading...
Searching...
No Matches
qsc_socket_receive_poll_state Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ callback

void(* callback) (qsc_socket *sock, size_t id)

A pointer to a callback function

◆ count

uint32_t count

The number of active sockets

◆ error

void(* error) (qsc_socket *sock, qsc_socket_exceptions exception)

A pointer to an error function

◆ sockarr

qsc_socket** sockarr

A pointer to an array of sockets


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