Make client list dynamic

This commit is contained in:
2023-01-03 10:05:30 +01:00
parent f416c2f05c
commit 1cf9172194
3 changed files with 35 additions and 7 deletions
+4
View File
@@ -9,6 +9,8 @@
#ifndef SESIMOS_SERVER_H
#define SESIMOS_SERVER_H
#include "worker/func.h"
#include <signal.h>
#define NUM_SOCKETS 2
@@ -24,4 +26,6 @@
extern volatile sig_atomic_t server_alive;
void server_free_client(client_ctx_t *ctx);
#endif //SESIMOS_SERVER_H