ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
acip_transport Struct Reference

Transport instance structure. More...

#include <include/ascii-chat/network/acip/transport.h>

Data Fields

const acip_transport_methods_t * methods
 Method table (virtual functions)
 
crypto_context_t * crypto_ctx
 Optional encryption context.
 
uint64_t receive_timeout_ns
 Optional TCP receive timeout override; zero uses the normal polling timeout.
 
void * impl_data
 Transport-specific state.
 
void * user_data
 Application-specific context (e.g., per-client data)
 

Detailed Description

Transport instance structure.

Base structure for all transport implementations. Specific transports extend this with their own state.

Definition at line 214 of file transport.h.

Field Documentation

◆ crypto_ctx

◆ impl_data

void* acip_transport::impl_data

◆ methods

◆ receive_timeout_ns

uint64_t acip_transport::receive_timeout_ns

Optional TCP receive timeout override; zero uses the normal polling timeout.

Definition at line 217 of file transport.h.

Referenced by session_server_like_handshake().

◆ user_data

void* acip_transport::user_data

Application-specific context (e.g., per-client data)

Definition at line 219 of file transport.h.

Referenced by acds_client_handler(), and acds_websocket_client_handler().


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