ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 730 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 732 of file packet.h.

◆ clients

client_info_packet_t client_list_packet_t::clients[128]

Array of client information structures.

Definition at line 734 of file packet.h.


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