#!/usr/bin/env ruby require 'socket' sock = UDPSocket.new sock.send "Foo/de]] xyz", 0, "127.0.0.1", 51666