mjansson / mdns

Public domain mDNS/DNS-SD library in C
The Unlicense
437 stars 117 forks source link

[Question] Respond to A and AAAA queries? #39

Closed FrozenSource closed 3 years ago

FrozenSource commented 3 years ago

Hi,

First of all thanks for this great library! I do however have a question. Is it already possible to answer A and AAAA queries? I do see a generic answer function, but don't see any sample as to how to answer this. I did find the parse but that is used only when querying oneself?

Sincerely, Bram Nijenkamp

mjansson commented 3 years ago

Will add a generalized answer function that will solve this

FrozenSource commented 3 years ago

Thanks will look forward to it!!!

mjansson commented 3 years ago

This has now been implemented and the example code shows how to answer different record types