ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
session_host_client_info_t Struct Reference

Snapshot of the address, identity, activity, and connection time for one host client. More...

#include <src/common/session/host.h>

Data Fields

uint32_t client_id
 Unique client identifier.
char ip_address [IP_ADDRESS_BUFFER_SIZE]
 Client IP address.
int port
 Client port.
bool video_active
 Client is currently streaming video.
bool audio_active
 Client is currently streaming audio.
uint64_t connected_at
 Connection timestamp (Unix time).

Detailed Description

Snapshot of the address, identity, activity, and connection time for one host client.

Contains basic information about a connected client.

Definition at line 83 of file host.h.

Field Documentation

◆ audio_active

bool session_host_client_info_t::audio_active

Client is currently streaming audio.

Definition at line 97 of file host.h.

Referenced by session_host_find_client().

◆ client_id

uint32_t session_host_client_info_t::client_id

Unique client identifier.

Definition at line 85 of file host.h.

Referenced by session_host_find_client().

◆ connected_at

uint64_t session_host_client_info_t::connected_at

Connection timestamp (Unix time).

Definition at line 100 of file host.h.

Referenced by session_host_find_client().

◆ ip_address

char session_host_client_info_t::ip_address[IP_ADDRESS_BUFFER_SIZE]

Client IP address.

Definition at line 88 of file host.h.

Referenced by session_host_find_client().

◆ port

int session_host_client_info_t::port

Client port.

Definition at line 91 of file host.h.

Referenced by session_host_find_client().

◆ video_active

bool session_host_client_info_t::video_active

Client is currently streaming video.

Definition at line 94 of file host.h.

Referenced by session_host_find_client().


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