Correct but people use factory functions based on string lookups in most of these modules for some forsaken reason (udp/tcp do not have same api basically).
On Friday, November 9, 2012 1:32:39 PM UTC-6, Matt Sergeant wrote: > > Yeah that was the one. I thought mDNS was just DNS packets sent over UDP > multicast? With a library that can parse DNS packets we should be able to > see mDNS packets in userspace, no? > > > On Fri, Nov 9, 2012 at 11:58 AM, Ben Noordhuis > <in...@bnoordhuis.nl<javascript:> > > wrote: > >> On Fri, Nov 9, 2012 at 4:50 PM, Matt <hel...@gmail.com <javascript:>> >> wrote: >> > On Wed, Nov 7, 2012 at 6:45 PM, Ben Noordhuis >> > <in...@bnoordhuis.nl<javascript:>> >> wrote: >> >> >> >> While HTTP traffic is event-driven, the initial DNS lookup is done >> >> from inside the thread pool. That's because we use getaddrinfo(3) >> >> instead of c-ares, mostly because the latter doesn't support things >> >> like mDNS (think Bonjour, Avahi, etc.). I may switch it to >> >> getaddrinfo_a(3) on Linux someday but other platforms will keep on >> >> using the thread pool. >> > >> > >> > Didn't I see somewhere a Node DNS library written in pure Node? That >> might >> > be useful... >> >> You mean [1]? It has the same issue as c-ares in that it doesn't >> integrate with platform-specific services. mDNS is one but there are >> others, like NIS or NSS. >> >> [1] https://github.com/tjfontaine/node-dns >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to nod...@googlegroups.com<javascript:> >> To unsubscribe from this group, send email to >> nodejs+un...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en