|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Client registry entry. More...
#include <lib/network/tcp/server.h>
Data Fields | |
| socket_t | socket |
| Client socket (hash key) | |
| void * | client_data |
| User-provided client data. | |
| thread_pool_t * | threads |
| Thread pool for client worker threads. | |
| UT_hash_handle | hh |
| uthash handle | |
Client registry entry.
Internal structure for tracking connected clients. Uses uthash for efficient socket-based lookup. Each client can have multiple worker threads tracked in a thread pool.
Definition at line 144 of file lib/network/tcp/server.h.
| void* tcp_client_entry::client_data |
User-provided client data.
Definition at line 146 of file lib/network/tcp/server.h.
Referenced by tcp_server_add_client(), tcp_server_foreach_client(), tcp_server_get_client(), tcp_server_remove_client(), and tcp_server_shutdown().
| UT_hash_handle tcp_client_entry::hh |
uthash handle
Definition at line 148 of file lib/network/tcp/server.h.
| socket_t tcp_client_entry::socket |
Client socket (hash key)
Definition at line 145 of file lib/network/tcp/server.h.
Referenced by tcp_server_add_client(), and tcp_server_foreach_client().
| thread_pool_t* tcp_client_entry::threads |
Thread pool for client worker threads.
Definition at line 147 of file lib/network/tcp/server.h.
Referenced by tcp_server_add_client(), tcp_server_get_thread_count(), tcp_server_remove_client(), tcp_server_shutdown(), tcp_server_spawn_thread(), and tcp_server_stop_client_threads().