Skip to content

Instantly share code, notes, and snippets.

@qmx
Created June 18, 2010 19:09
Show Gist options
  • Save qmx/444069 to your computer and use it in GitHub Desktop.
Save qmx/444069 to your computer and use it in GitHub Desktop.
require 'net/dns/mdns-sd'
require 'net/dns/resolv-mdns'
require 'net/dns/resolv-replace'
DNSSD = Net::DNS::MDNSSD
DNSSD.browse('_http._tcp') {|b| puts b.inspect}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment