[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] mDNS Service Search Not Working
From: |
Manu Abraham |
Subject: |
Re: [lwip-users] mDNS Service Search Not Working |
Date: |
Wed, 9 Sep 2020 23:10:12 +0530 |
I have the 2.1.2 release. There is no such function in there.
Maybe you are looking at the development tree ?
I see it in the git tree. Haven't tried it yet.
On Wed, Sep 9, 2020 at 10:53 PM Niall Begley <nbegley@gmail.com> wrote:
>
> Yes, I agree that it appears the mDNS functionality as-is only works as
> outgoing only.
>
> After turning on debug logging on both the ip4 and ethernet layers, I believe
> I determined that while incoming mDNS broadcasts are out there and being sent
> (confirmed by wireshark), I'm not seeing any of them come in at all on the
> ethernet layer. I'm pretty new to this but maybe I've missed something that
> needs to be done while setting up my netif? I'm seeing other broadcast
> messages sent to my 192.168.1.255 / ff:ff:ff:ff:ff:ff just fine but none of
> the mDNS ones.
>
> I have to imagine there is a way to make this work because I can't imagine
> someone went to the effort to write the service search code if they didn't
> have a way to get responses back to the search queries being sent out.
>
> On Wed, Sep 9, 2020 at 11:46 AM Manu Abraham <abraham.manu@gmail.com> wrote:
>>
>> Hi,
>>
>> I had the same question, in a different way. It appears to me that
>> mDNS is advertise only.
>> Was having similar thoughts what you outlined, since no one replied.
>>
>> http://lwip.100.n7.nabble.com/dhcp-and-mdns-responder-tt35983.html#a35984
>>
>> Thoughts of an anechoic chamber, pass by ..
>>
>>
>> Best Regards,
>>
>> Manu
>>
>>
>> On Wed, Sep 9, 2020 at 8:09 PM Niall Begley <nbegley@gmail.com> wrote:
>> >
>> > Hi everyone,
>> >
>> > I'm new to both lwip and mdns and I'm trying to use mdns_search_service()
>> > to search for a service on my network (any service, really, I just want to
>> > see it work) but I'm having trouble. The callback I provide is never
>> > being called even though from what I can tell from wireshark the mDNS
>> > query is making it out there and is being responded to.
>> >
>> > I saw that someone else had this exact same issue
>> > (http://lwip.100.n7.nabble.com/mDNS-question-td34016.html) but it doesn't
>> > look like there were any follow ups.
>> >
>> > I don't see any documentation for either mdns_search_service or
>> > mdns_search_stop outside of comments in the code, so I don't know if these
>> > are really used by anyone? Does anyone have experience with this that
>> > could help me out?
>> > _______________________________________________
>> > lwip-users mailing list
>> > lwip-users@nongnu.org
>> > https://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>> _______________________________________________
>> lwip-users mailing list
>> lwip-users@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
> _______________________________________________
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users