Start IPv6 - Lord help me

This commit is contained in:
2026-06-03 11:20:19 +02:00
parent 00bd711501
commit da50b4e8c1
5 changed files with 87 additions and 0 deletions

View File

@@ -11,7 +11,12 @@
typedef struct {
int sockFd;
struct sockaddr_in addr;
#ifdef USE_IPV6
int sockFd6; // IPv6 support
struct sockaddr_in6 addr6; // IPv6 support
#endif
int opt;
int opt6; // IPv6 support
int isRunning;
void* owner;