Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Preliminary IPV6 Support #1817
Implements preliminary IPV6 support.
IPv6 addresses may be represented by the following formats:
NOTE: ipv6 by default is disabled. You need to set
For a suitable master server to test with, check out https://github.com/jamesu/PushButton-Master-Server/tree/ipv6_support
For LAN testing, any ipv6 network should work - just make sure everything is in the same subnet, etc.
This particular code has been tested on windows and linux, though should work on macos too.
Note that this PR also changes the NetSocket to a struct, as a lot of code was liberally referring to sockets using U32. This is no longer a safe assumption, especially on platforms such as WIN64. This PR consequently resolves a potential bug if windows returns a socket handle which cannot be stored in U32.