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_server_async_accept_state Struct Reference

The async listener-accept state structure. The structure contains a pointer to the listener socket, and pointers to a callback and error functions. The callback function returns a populated qsc_socket_server_accept_result structure. The error function returns the listener socket and an qsc_socket_exceptions error code. More...

#include <socketserver.h>

Data Fields

qsc_socketsource
 
void(* callback )(qsc_socket_server_accept_result *result)
 
void(* error )(qsc_socket *sock, qsc_socket_exceptions exception)
 

Detailed Description

The async listener-accept state structure. The structure contains a pointer to the listener socket, and pointers to a callback and error functions. The callback function returns a populated qsc_socket_server_accept_result structure. The error function returns the listener socket and an qsc_socket_exceptions error code.

Field Documentation

◆ callback

void(* callback) (qsc_socket_server_accept_result *result)

A pointer to a callback function

◆ error

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

A pointer to an error function

◆ source

qsc_socket* source

A pointer to the listener socket


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