brutella / dnssd

This library implements Multicast DNS (mDNS) and DNS-Based Service Discovery (DNS-SD) for Zero Configuration Networking in Go.
MIT License
207 stars 33 forks source link

Question: Service on same IP (cmd/register) is not found by cmd/browse #13

Closed jurgen-kluft closed 3 months ago

jurgen-kluft commented 4 years ago

Is this expected behavior ?

Edit: When i run cmd/register on another device then this service is detected by cmd/browse

brutella commented 4 years ago

This is not expected behaviour and might be related to setting multicast loopback to false.

jurgen-kluft commented 4 years ago

Yup, when i set this (SetMulticastLoopback) to true it will find services running on the same device.

brutella commented 4 years ago

Could you please test the multicast-loopback branch. There all multicast loopback packets are ignored during probing.

jurgen-kluft commented 4 years ago

tested the multicast-loopback branch and now both remote and local processes are listed correctly.