sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
107 stars 63 forks source link

lsl_test_internal `reuseport` fails on MacOS due to inability to assign ipv6 multicast address #215

Closed cboulay closed 1 month ago

cboulay commented 1 month ago

This set_option line fails

https://github.com/sccn/liblsl/blob/e0dac290e796cd91ea44966d5c7383e1b06b2e6f/testing/int/network.cpp#L264-L266

But only for the third addrstr "ff03::1", not for the other 2.

I tried adding an error_code argument, which allows execution past that line but then fails during sendto with "no route to host". Edit: debugged in Xcode. The first error is 49 EADDRNOTAVAIL.

Assuming I can't fix this, I'd like to comment out that ff03::1 address on MacOS. It keeps causes the automated tests to fail even though it has nothing to do with recent changes. We should probably fix the underlying problem but whatever the problem is, it's already in the code and shouldn't stop our CI/CD workflows.