This commit is contained in:
2025-10-29 23:48:45 +01:00
parent 174f37c6c0
commit 7525a93035
8 changed files with 98 additions and 49 deletions
+8
View File
@@ -6,6 +6,14 @@
#include "system.h"
#include "byte_queue.h"
#ifdef _WIN32
#define CLOSE_SOCKET sys_closesocket
#else
#define SOCKET int
#define INVALID_SOCKET -1
#define CLOSE_SOCKET sys_close
#endif
#define MAX_CONNS 512
typedef enum {