ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
acds_stats_t Struct Reference

Network statistics for both TCP and WebSocket connections. More...

#include <src/discovery-service/server.h>

Data Fields

atomic_t bytes_sent
 Total bytes sent (TCP + WebSocket)
 
atomic_t bytes_received
 Total bytes received (TCP + WebSocket)
 
atomic_t packets_sent
 Total packets sent (TCP + WebSocket)
 
atomic_t packets_received
 Total packets received (TCP + WebSocket)
 
time_t start_time
 Server start time.
 

Detailed Description

Network statistics for both TCP and WebSocket connections.

Definition at line 100 of file src/discovery-service/server.h.

Field Documentation

◆ bytes_received

atomic_t acds_stats_t::bytes_received

Total bytes received (TCP + WebSocket)

Definition at line 102 of file src/discovery-service/server.h.

Referenced by acds_client_handler(), and acds_server_init().

◆ bytes_sent

atomic_t acds_stats_t::bytes_sent

Total bytes sent (TCP + WebSocket)

Definition at line 101 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ packets_received

atomic_t acds_stats_t::packets_received

Total packets received (TCP + WebSocket)

Definition at line 104 of file src/discovery-service/server.h.

Referenced by acds_client_handler(), and acds_server_init().

◆ packets_sent

atomic_t acds_stats_t::packets_sent

Total packets sent (TCP + WebSocket)

Definition at line 103 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ start_time

time_t acds_stats_t::start_time

Server start time.

Definition at line 105 of file src/discovery-service/server.h.

Referenced by acds_server_init().


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