bltavares / colmeia

Attempt to make an interop layer to connect to dat on hyperswarm in Rust
24 stars 4 forks source link

Use multicast-socket for broadcasting mdns messages #16

Closed bltavares closed 4 years ago

bltavares commented 4 years ago

This commit introduces multicast-socket as the underlying socket implementation for mdns discovery.

It is allowing to listen and broadcast messages on multiple interfaces. Tested and working:

Not working:

Partially working:

Fixes #15

bltavares commented 4 years ago

This PR https://github.com/bltavares/multicast-socket/pull/5 will fix Win x Win discovery and weird WSL discovery as well.

Nothing like debugging OS-level network stack errors and FFI debugging for 3 weekends. yay.