Re: Add MDNS lookup for libc.

2011-04-19 Thread Christiano F. Haesbaert
Keeping this up. On 19 March 2011 22:35, Christiano F. Haesbaert wrote: > Whoops, I made some last time changes which broke big-endian systems, spotted by > Mattew. > > Index: net/getaddrinfo.c > === > RCS file: /cvs/src/lib/libc/net

Re: Add MDNS lookup for libc.

2011-03-23 Thread kamaldeep srangal
Thanks a lot. Please never mind i have question, as you have implemented your own version, can you use name "mdns" , does not its apple's property ? :) On Wed, Mar 23, 2011 at 3:54 PM, Stuart Henderson wrote: > On 2011/03/23 09:50, hUNT wrote: > > Cool!!! > > > > U did a great job!!! I was loo

Re: Add MDNS lookup for libc.

2011-03-23 Thread Christiano F. Haesbaert
On Wed, Mar 23, 2011 at 04:34:22PM +0530, kamaldeep srangal wrote: > Thanks a lot. > > Please never mind i have question, as you have implemented your own version, > can you use name "mdns" , does not its apple's property ? :) > Yes, mdns is a protocol draft at this time, www.multicastdns.org. S

Re: Add MDNS lookup for libc.

2011-03-23 Thread Stuart Henderson
On 2011/03/23 09:50, hUNT wrote: > Cool!!! > > U did a great job!!! I was looking for > exactly same.:) > which bonjour version u have used ? > Can i access your source code (openmdns)? > Keep up the good work!!! https://github.com/haesbaert/mdnsd

Re: Add MDNS lookup for libc.

2011-03-23 Thread hUNT
Cool!!! U did a great job!!! I was looking for exactly same.:) which bonjour version u have used ? Can i access your source code (openmdns)? Keep up the good work!!!

Re: Add MDNS lookup for libc.

2011-03-19 Thread Christiano F. Haesbaert
Whoops, I made some last time changes which broke big-endian systems, spotted by Mattew. Index: net/getaddrinfo.c === RCS file: /cvs/src/lib/libc/net/getaddrinfo.c,v retrieving revision 1.71 diff -d -u -p -w -r1.71 getaddrinfo.c --- n

Re: Add MDNS lookup for libc.

2011-03-19 Thread Christiano F. Haesbaert
On Tue, Mar 15, 2011 at 01:06:21AM -0300, Christiano F. Haesbaert wrote: > Hi, > > The following adds legacy MDNS lookups to libc. > > It adds the keyword 'mdns' to 'lookup' in /etc/resolv.conf, only names in the > .local (MDNS domain) are looked up. > > A legacy lookup is how MDNS calls a simpl

Re: Add MDNS lookup for libc.

2011-03-15 Thread Christiano F. Haesbaert
This is all documented in Section 6.7 "Legacy Unicast Responses" of http://files.multicastdns.org/draft-cheshire-dnsext-multicastdns.txt -- Christiano Farina HAESBAERT Do NOT send me html mail.

Add MDNS lookup for libc.

2011-03-14 Thread Christiano F. Haesbaert
Hi, The following adds legacy MDNS lookups to libc. It adds the keyword 'mdns' to 'lookup' in /etc/resolv.conf, only names in the .local (MDNS domain) are looked up. A legacy lookup is how MDNS calls a simple unicast lookup sent to the mcast addr 224.0.0.251, the MDNS responder is responsible fo