Sha256: ac99ec18e9ddc030df95837493b0011ae62475831df0602af519e3e7d59ef0ff

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'maxcube/network/udp/sample_socket'

unless ARGV.size <= 1
  puts "Wrong number of arguments: #{ARGV.size} (expected: 0..1)"
  puts "Usage: ruby #{__FILE__} [port]"
  exit
end

socket = MaxCube::Network::UDP::SampleSocket.new(*ARGV)
socket.run

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maxcube-client-0.5.0 bin/sample_socket
maxcube-client-0.4.1 bin/sample_socket
maxcube-client-0.4.0 bin/sample_socket