DNSServiceGetAddrInfo undefined reference in ubuntu
Closed this issue · 5 comments
Hi,
I am trying to port Airplay code in UBUNTU with AVAHI interface. But it is not able find DNSServiceGetAddrInfo definition. Please help me how to resolve this issue?
Thanks,
Muvva.
Indeed DNSServiceGetAddrInfo
does not exist on avahi. If it is still being called that's probably $someone messing with the resolver sequence.
Good luck.
In that case shall I port DNSServiceGetAddrInfo from dnssd_ipc.c open source from apple. I am the beginner. Please guide me.
In that case shall I port DNSServiceGetAddrInfo from dnssd_ipc.c
lol... No! There already is support to resolve addresses on avahi systems. It's just that $something
on your end (probably the application you are porting) breaks that support. The most likely candidate is that it messes with the resolver chain.
Please guide me.
- Read about the resolver chain
- Note that the default chain is different for avahi and mac os
- Look at the resolver chain of the app you are porting
- Fix it to do the right thing
There you go.
Thanks a lot.
I am trying to run Apple Airplay receiver directly in ubuntu other than I haven't done anything.
Yeah... but...
I am trying to run Apple Airplay receiver
I have no idea what that is... and to be honest, I'm not sure I want to know.
The thing is: You haven't provided any information on what you are actually trying to do. No commands, no source code, no console logs. Just a few buzzwords in CAPITALS. So, I'm having a hard time helping.
Also, I'm not actually here to teach you this stuff. You are the beginner. You'll have to do your own learning...