ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
client_list_packet_t Struct Reference

Snapshot of the clients currently known to the server. More...

#include <include/ascii-chat/network/packet/packet.h>

Data Fields

uint32_t client_count
 Number of clients in the list (0 to MAX_CLIENTS).
client_info_packet_t clients [128]
 Array of client information structures.

Detailed Description

Snapshot of the clients currently known to the server.

client_count says how many entries in clients are valid. The server sends this fixed-size packet when membership changes so each recipient can rebuild its participant list; unused array slots are ignored.

Definition at line 741 of file packet.h.

Field Documentation

◆ client_count

uint32_t client_list_packet_t::client_count

Number of clients in the list (0 to MAX_CLIENTS).

Definition at line 743 of file packet.h.

◆ clients

client_info_packet_t client_list_packet_t::clients[128]

Array of client information structures.

Definition at line 745 of file packet.h.


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