sample/dnssd.rb in qcmd-0.1.16.pre2 vs sample/dnssd.rb in qcmd-0.1.16
- old
+ new
@@ -26,15 +26,17 @@
row :target, r
row :port, r
row :target, r
puts '*' * 40
end
+
end
browsers = []
browsers.push(DNSSD.browse('_qlab._udp.') do |b|
do_browse_on_service(b)
+ sleep 2
end)
# browsers.push(DNSSD.browse('_qlab._tcp.') do |b|
# do_browse_on_service(b)
# end)