]> git.meshlink.io Git - meshlink/commit
Use multicast to respond to mDNS requests. debug/multicast-mdns-response
authorGuus Sliepen <guus@meshlink.io>
Thu, 27 May 2021 21:37:58 +0000 (23:37 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 3 Jun 2021 22:08:14 +0000 (00:08 +0200)
commit675b00d4143b44e21aaf68e9965f655a33b9dfe8
treedf38d7cea13a6eedbbed6a662e3b409d156c5e0f
parent7cf15980cbbe138b4bad631365a967867c2341ca
Use multicast to respond to mDNS requests.

On macOS, it seems unicast responses are not received if another process
is also listening on the same port. Try to use multicast for response
packets instead, if we can discovery the interface of the incoming
request.
src/discovery.c