Mega Code Archive
Categories
/
Ruby
/
Network
A client to send data
require 'socket' s = UDPSocket.new s.send("hello", 0, 'localhost', 1234)