You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not too familiar with mdns, so perhaps this is how it is supposed to work, but...
I have a Node.js service that I'm advertising as trace-appliance._trap-tracer._udp.local.
In my Elixir app, I query for that string.
Tracing the handle_info callbacks, I see messages such as those down below.
The first is a correct response, giving the IP and port of my service.
The others however are responses for the AFP service. They've been selected because the
list of services they contain includes what I'm guessing are all the services advertised by my box.
Looking at the code, the mdns client seems to accept a message if any of the services it contains is a substring of the query.
I'm not too familiar with mdns, so perhaps this is how it is supposed to work, but...
I have a Node.js service that I'm advertising as
trace-appliance._trap-tracer._udp.local
.In my Elixir app, I query for that string.
Tracing the handle_info callbacks, I see messages such as those down below.
The first is a correct response, giving the IP and port of my service.
The others however are responses for the AFP service. They've been selected because the
list of services they contain includes what I'm guessing are all the services advertised by my box.
Looking at the code, the mdns client seems to accept a message if any of the services it contains is a substring of the query.
Am I using it incorrectly?
Dave
The text was updated successfully, but these errors were encountered: