18 bool wants_stretch,
size_t *out_size,
bool *out_grid_changed,
19 int *out_sources_count);
🌐 Core network I/O operations with timeout support
Packet protocol implementation with encryption and compression support.
Per-client state management and lifecycle orchestration.
bool any_clients_sending_video(void)
Check if any connected clients are currently sending video.
atomic_bool g_server_should_exit
Global atomic shutdown flag shared across all threads.
char * create_mixed_ascii_frame_for_client(uint32_t target_client_id, unsigned short width, unsigned short height, bool wants_stretch, size_t *out_size, bool *out_grid_changed, int *out_sources_count)
Generate personalized ASCII frame for a specific client.
int queue_audio_for_client(client_info_t *client, const void *audio_data, size_t data_size)
Queue ASCII frame for delivery to specific client.
Per-client state structure for server-side client management.