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

Host migration state for collecting HOST_LOST packets. More...

#include <include/ascii-chat/discovery/session.h>

Data Fields

uint8_t participant_id [16]
 Participant proposing new host.
 
uint8_t nat_quality_tier
 NAT tier for this participant.
 
uint16_t upload_kbps
 Upload bandwidth.
 
uint32_t rtt_to_acds_ns
 Latency to ACDS in nanoseconds.
 
uint8_t connection_type
 How they can be reached.
 

Detailed Description

Host migration state for collecting HOST_LOST packets.

When host disconnects, ACDS starts a collection window to gather NAT quality info from remaining participants for re-election.

Definition at line 38 of file include/ascii-chat/discovery/session.h.

Field Documentation

◆ connection_type

uint8_t host_lost_candidate_t::connection_type

How they can be reached.

Definition at line 43 of file include/ascii-chat/discovery/session.h.

◆ nat_quality_tier

uint8_t host_lost_candidate_t::nat_quality_tier

NAT tier for this participant.

Definition at line 40 of file include/ascii-chat/discovery/session.h.

◆ participant_id

uint8_t host_lost_candidate_t::participant_id[16]

Participant proposing new host.

Definition at line 39 of file include/ascii-chat/discovery/session.h.

◆ rtt_to_acds_ns

uint32_t host_lost_candidate_t::rtt_to_acds_ns

Latency to ACDS in nanoseconds.

Definition at line 42 of file include/ascii-chat/discovery/session.h.

◆ upload_kbps

uint16_t host_lost_candidate_t::upload_kbps

Upload bandwidth.

Definition at line 41 of file include/ascii-chat/discovery/session.h.


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