teeworlds_network/examples/02_packet_debugger.rb
ChillerDragon 6c005497d4 Layout server control msg structure
Thus closed #5
By deciding to support server as well.

This is rebranding from teeworlds-client to teeworlds_network
And thus also including a bunch of file renames
2022-11-09 08:56:18 +01:00

12 lines
275 B
Ruby
Executable file

#!/usr/bin/env ruby
# frozen_string_literal: true
# Prints out all network traffic
require_relative '../lib/teeworlds_client'
client = TeeworldsClient.new(verbose: true)
# connect to localhost and block the current thread
client.connect('localhost', 8303, detach: false)