Dolphin, the GameCube and Wii emulator - Forums

Full Version: IPv6 on NetPlay
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Aarivex

Hello.

I was wondering if there is a way to open a Netplay server that listens on IPv6 (because I'm on DS Lite).
Already tried both extern and local, but they don't listen on IPv6.

Thanks!
This is the source code of the Netplay part: https://github.com/dolphin-emu/dolphin/b...Client.cpp
It uses the "enet" library for the connection handling (as seen here https://github.com/dolphin-emu/dolphin/b...net/host.c )

The enet library (source code at https://github.com/lsalzman/enet ) doesn't support IPv6. There are lots of issues (#78) and open PRs implementing IPv6 (#21, #51, #73) but the maintainer is like "I don't even have time to merge PRs and also I like none of the ways the three PRs are implemented" so it doesn't look like IPv6 is going to be added soon. 

Unless Dolphin were to add that themselves, or switch to an enet fork that supports IPv6 (like https://github.com/zpl-c/enet ), NetPlay won't work over IPv6. A shame that libraries like this still don't support IPv6 in 2020.
I've filed an issue report to remind me or someone to work on this at some point. https://bugs.dolphin-emu.org/issues/12018