Re: Re: Rendezvous in php
| From: | John LeSueur | Date: | Tue, 06 Jul 2004 22:10:44 +0000 |
| Subject: | Re: Re: Rendezvous in php | ||
| References: | 1 2 | Groups: | php.internals php.pecl.dev |
| Request: | Send a blank email to internals+get-10938@lists.php.net to get a copy of this message | ||
Sara Golemon wrote:
they intend to add a unicat dns query that will be able to browse services across routing.I apologize if this is the wrong place for this. I have been working on building a rendezvous php module, and have a proof of concept. I've been developing it on windows, but I think it should compile fine for the real platforms. Feel free to point and laugh, it isn't amazing code. sample usage:Looks pretty clean.. I've never worked with Rondevouz, I understand it's something like a link-local multicast version of portmap? It uses multicast dns queries and replies to advertise services. it does only work link-local, although
I see that it requires linking against an external library, how is that library licensed? Are there unix versions of that library available as well? (the zip only contains a windows .lib file) It's based off Apple's rendezvous implementation.http://developer.apple.com/macosx/Rendezvous/ The license is APSL(Not entirely open, but free). I'm not sure what the ramifications of the licensing will be. I kind of just threw this together, hoping it would work.
More imporatantly, do you have a link to the site you got that library from? (Save the rest of us some googling) It sounds like something that would fit nicely into PECL. Be sure to bring it up within that forum. I think I'm going to move this discussion to Pecl
Interfaces are numbered from 1 then? Would it make sense to use a "Network Device Friendly Name" under windows? (performing the lookup silently using Win32API calls) That might not be a wonderful idea as there's not much in the way of POSIX standardization when it comes to mapping unix interface names to interface numbers... -Sara To be honest, I'm not sure about the interfaces thing. Right now, that's just getting passed directly to the underlyinglibrary. John LeSueur