[Ruby] DNSSD questions
Alex Vollmer
alex.vollmer at gmail.com
Fri Jun 6 12:35:57 PDT 2008
On Jun 6, 2008, at 12:24 PM, Evan Phoenix wrote:
> Do you control the send site? We had this problem using DNSSD
> recently. You HAVE to pass it a TextRecord on the server side, or the
> client blows up.
>
> Check out: http://github.com/chad/gitjour/tree/master/lib/gitjour/application.rb#L167
> for an example server. Scroll up from that to see the example client.
>
> - Evan
Heh heh, funny you should mention gitjour. This code is from some
patches I'm working on for gitjour to marry git's instaweb with
Bonjour. I've got the publishing side working, but the issue I'm
having is on the discovery end of things. What I'm trying to do is
discover services published by other folks similar to the 'list'
method in the Application class (just using a different service type).
Right now I'm going down the path of looking for "_http._tcp" records
and then filtering based on a naming convention to find the git sites.
However I think the issue is that I'm getting some bad record during
discovery that is jacking my code. I get this even when I don't have
the git instaweb published via bonjour so I think it's some other HTTP
service. It's very perplexing.
-- Alex V
--
Musings and notes -- http://blog.livollmers.net
More information about the Ruby
mailing list