sample/dnssd.rb in qcmd-0.1.16.pre vs sample/dnssd.rb in qcmd-0.1.16.pre2

- old
+ new

@@ -30,16 +30,16 @@ end end browsers = [] -#browsers.push(DNSSD.browse('_qlab._udp.') do |b| -# do_browse_on_service(b) -#end) - -browsers.push(DNSSD.browse('_qlab._tcp.') do |b| +browsers.push(DNSSD.browse('_qlab._udp.') do |b| do_browse_on_service(b) end) + +# browsers.push(DNSSD.browse('_qlab._tcp.') do |b| +# do_browse_on_service(b) +# end) trap 'INT' do browsers.map(&:stop); exit end