Sha256: 1418c7dd36645b4d9d101d0093387c85d61ba83ed21355fb999da8913e77b82c

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

#!/usr/bin/env ruby

# This is a cmd-tool, that checks if the given networking-port is available.

$:<< File.expand_path('../../lib',__FILE__)
require 'net_service.rb'
require 'pp'

if NetService::checkPort(ARGV[1])
  puts "Port #{ARGV[1]}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 tools/checkPort.rb