



















CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
...
OPUSFILE_LIBRARY (ADVANCED)




ddnet/SQLite3_INCLUDEDIR































-DCMAKE_BUILD_TYPE=Debug and -GNinja
cmake .. -GNinja -DMYSQL=ON -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVIDEORECORDER=ON -DSTEAM=ON











NETADDRv4 for v4 addresses NETADDRv6 for v6 addresses



template<typename ADDR_T> class CClient { ADDR_T m_Addr; }

union NETADDR { NETADDRv4 v4; NETADDRv6 v6; };?


struct NETADDR { int type; union { NETADDRv4 v4; NETADDRv6 v6; } inner; };








sockaddr_to_netaddr is using htons, it should be using ntohs













__builtin_bswap16(value); is better because it's just single instruction unlike ntohs/htons which is slow library call 



















mem_copy(dst->ip.v6.ip, &((struct sockaddr_in6*)src)->sin6_addr.s6_addr, 16);
inet_ntop converts it to correct string, it must be big endian































































































/showall as option in settings or in console, so that it would be saved to initial .cfg without the need to type it on every server join?












.1 changed it :F my bad :F



























