ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
acds_client_data_t Struct Reference

Network statistics for both TCP and WebSocket connections. More...

#include <src/discovery-service/server.h>

Data Fields

uint8_t session_id [SESSION_ID_SIZE]
 Session UUID (valid if joined_session).
uint8_t participant_id [SESSION_ID_SIZE]
 Participant UUID (valid if joined_session).
bool joined_session
 Whether client has successfully joined a session.
network_negotiation_t negotiation
uint8_t create_transport_metadata [521]
size_t create_transport_length
acds_create_key_set_t create_keys
 Pending connection-local key set.
acip_transport_t * transport
 Persistent transport for this client connection.
bool session_established
 True after SESSION_CREATE/SESSION_JOIN completes; handler exits loop.

Detailed Description

Network statistics for both TCP and WebSocket connections.

Per-client connection data

Stored in network connection registry to track which session and participant this connection represents. Used by signaling relay to map participant_id to connection for message delivery.

Multiple-key creation is an ordered, counted sequence of Ed25519 proofs. No session is persisted until the entire sequence has passed validation.

Definition at line 56 of file src/discovery-service/server.h.

Field Documentation

◆ create_keys

acds_create_key_set_t acds_client_data_t::create_keys

Pending connection-local key set.

Definition at line 67 of file src/discovery-service/server.h.

◆ create_transport_length

size_t acds_client_data_t::create_transport_length

Definition at line 66 of file src/discovery-service/server.h.

◆ create_transport_metadata

uint8_t acds_client_data_t::create_transport_metadata[521]

Definition at line 65 of file src/discovery-service/server.h.

◆ joined_session

bool acds_client_data_t::joined_session

Whether client has successfully joined a session.

Definition at line 59 of file src/discovery-service/server.h.

Referenced by acds_on_host_announcement_ex().

◆ negotiation

network_negotiation_t acds_client_data_t::negotiation

Definition at line 62 of file src/discovery-service/server.h.

◆ participant_id

uint8_t acds_client_data_t::participant_id[SESSION_ID_SIZE]

Participant UUID (valid if joined_session).

Definition at line 58 of file src/discovery-service/server.h.

Referenced by acds_on_host_announcement_ex().

◆ session_established

bool acds_client_data_t::session_established

True after SESSION_CREATE/SESSION_JOIN completes; handler exits loop.

Definition at line 73 of file src/discovery-service/server.h.

◆ session_id

uint8_t acds_client_data_t::session_id[SESSION_ID_SIZE]

Session UUID (valid if joined_session).

Definition at line 57 of file src/discovery-service/server.h.

Referenced by acds_on_host_announcement_ex().

◆ transport

acip_transport_t* acds_client_data_t::transport

Persistent transport for this client connection.

Definition at line 70 of file src/discovery-service/server.h.


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