paullouisageneau / libjuice

JUICE is a UDP Interactive Connectivity Establishment library
Mozilla Public License 2.0
403 stars 75 forks source link

Attempting to `bind` a IPv6 socket fails with NordVPN Installed #244

Closed Sean-Der closed 3 months ago

Sean-Der commented 3 months ago

This was reported upstream at https://github.com/obsproject/obs-studio/issues/10313


With NordVPN enabled I get the following error

udp.c:133: UDP socket binding failed, errno=10049 (this is a WSAEADDRNOTAVAIL)

However when I switch to AF_INET being the default (over AF_INET6) the tests pass.

@paullouisageneau I am going to open a PR that attempts again (with IPv4 forced). The NordLynx adapter claims to support IPv6 so I don't see any way we could detect this.

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::723e:7ca:789d:a5aa%17
   IPv4 Address. . . . . . . . . . . : 10.5.0.2
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 0.0.0.0