ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 45 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 50 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 47 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 46 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 49 of file include/ascii-chat/discovery/session.h.

◆ upload_kbps

uint16_t host_lost_candidate_t::upload_kbps

Upload bandwidth.

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


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