coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
286 stars 41 forks source link

Hosting does not listen on IPv6 #172

Closed RoddyDev closed 1 month ago

RoddyDev commented 1 month ago

Describe the bug Hosting servers using Direct Connection only listens on IPv4, making hosting private servers impossible for those on ISP's that does IPv4 CGNAT.

To Reproduce Steps to reproduce the behavior:

  1. On Main Menu, click on "Host"
  2. Set "Network System" to "Direct Connection"
  3. Start Hosting

Expected behavior Hosting should listen to both IPv4 and IPv6, or making the user choose which protocol to use on the hosting menu, defaulting to dual-stack IPv4+IPv6

Screenshots listen

dave41413 commented 1 month ago

I don't know if C can host on both UDP and TCP or IPv4 and IPv6

theclashingfritz commented 1 month ago

It is possible to support both IPv4 and IPv6 for hosting, We wouldn't support using TCP for doing so however as it would require a complete rework of the networking system.

PaperVb64 commented 1 month ago

there's a fork with IPv6 support, try that out in the meantime. https://github.com/theclashingfritz/sm64coopdx/tree/ipv6-hosting