alternative API for DNSServiceGetAddrInfo()
Closed this issue · 1 comments
amalpj commented
I am trying to port bonjure related code to linux using avahi compatable libraries , but I could not find the definition for DNSServiceGetAddrInfo(), Is there any alternative way for replace DNSServiceGetAddrInfo() call from source code ?
agnat commented
That's right. The avahi compat library does not implement DNSServiceGetAddrInfo(). Just use the OS function getaddrinfo(). On every modern Linux this will trigger a bonjour lookup via the nameservice switch.
HTH
… On 4 Feb 2017, at 14:15, amalpj ***@***.***> wrote:
I am trying to port bonjure related code to linux using avahi compatable libraries , but I could not find the definition for DNSServiceGetAddrInfo(), Is there any alternative way for replace DNSServiceGetAddrInfo() call from source code ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.