--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Initiaites a service search, returns an Easyjour::Search. Search will continue until stop is called. Can be given a block for immediate result processing.
- !ruby/struct:SM::Flow::VERB 
  body: " # Find the HTTP servers that respond in 5 seconds or less\n search = Easyjour.search('http')\n sleep 5\n search.stop\n search.results.each do |result|                      # access the entire result set\n   puts &quot;http://#{result.target}:#{result.port}/&quot;\n end\n\n # Continously find HTTP servers\n search = Easyjour.search('http') do |result|\n   puts &quot;http://#{result.target}:#{result.port}/&quot;\n end\n search.results                                       # result set is updated as servers respond\n"
full_name: Easyjour::search
is_singleton: true
name: search
params: (service, protocol = :tcp, &block)
visibility: public
