local socket = require "pluto:socket" local host, port, transport = "localhost", 256, "udp" local s = socket.connect(host, port, transport) if s then s:send("hello socket world") s:close() else print($"Unable to connect to '{host}' on port: {port} using {transport}") end