Skip to content

ape_socket: No IPv6 support #54

@cookiengineer

Description

@cookiengineer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions