3 ms·
> Unfortunately the websockets implementation only allows IPv6 Huh? Pretty sure that's not true.
by oauea 5y ago
> Unfortunately the websockets implementation only allows IPv6
Huh? Pretty sure that's not true.
- eska 5y ago>socket_domain [ ipv4 | ipv6 ] >By default, a listener will attempt to listen on all supported IP protocol versions. >If you do not have an IPv4 or IPv6 interface you may wish to disable support for either of those protocol versions. In particular, note that due to the limitations of the websockets library, it will only ever attempt to open IPv6 sockets if IPv6 support is compiled in, and so will fail if IPv6 is not available. From the manual. Huh, seems like I might’ve misunderstood this paragraph. But I was only ever able to access the broker if the browser was using an ipv6 address. I’ll have to test again I suppose. Still, the performance and reliability was not good.
- oauea 5y agoRight, that just says if you don't have IPv6 support compiled in, you can't use IPv6. IPv4 is always available, and has worked wonderfully well in my experience.
- eska 5y agoThanks for pointing that out. I’ll have to try again. Maybe ipv4 got disabled in the configuration somehow by accident.