#pragma once #define PORT 8080 #define BUFFER_SIZE 1024 #define TOTAL_DATA_SIZE (1024 * 1024 * 100) // 100 MB void error(const char *msg); double get_time_ms();