Browse Source

add sockets to gui

congestion
Evgeny 6 months ago
parent
commit
cd63f5a1b3
  1. 5
      src/etcp_connections.c

5
src/etcp_connections.c

@ -4,6 +4,11 @@
#ifndef _WIN32
#include <net/if.h>
#include <endian.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#define htobe16(x) htons(x)
#define be16toh(x) ntohs(x)
#endif
#include <stdlib.h>
#include <unistd.h>

Loading…
Cancel
Save