# UDX Low-Lat Chat Tutorial ## Direct UDP ```js const udx = require('udx-native') const socket = udx.createSocket('udp4') socket.bind(0) socket.on('message', msg => console.log(msg)) socket.send(targetPort, targetHost, 'hi') ``` **w/ DHT**: libudx base for hyperdht.