Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ape_socket: No IPv6 support #54

Open
cookiengineer opened this issue Apr 19, 2017 · 0 comments
Open

ape_socket: No IPv6 support #54

cookiengineer opened this issue Apr 19, 2017 · 0 comments

Comments

@cookiengineer
Copy link
Contributor

cookiengineer commented Apr 19, 2017

The ape_socket.c#L282 is using the inet_addr method, which will convert a text to an IPv4 binary representation. Therefore the socket isn't IPv6 ready or compatible.

There's a very good ipv6 porting guide that compares old structs / methods with the newer ones: http://long.ccaba.upc.edu/long/045Guidelines/eva/ipv6.html

The reason why IPv6 support is important is mostly because of NAT breaking techniques. These days, most ISPs have carrier-grade NATs and IPv6 with global scopes allows peer-to-peer driven networks; as it can also be tunneled through other routing layers like TOR, HYPE, cjdns etc.

So, for the gaming scene, this might be an important feature to have to properly support multiplayer networking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant