Reliable UDP implementation for Node.js.
For a peer-to-peer application, you can write a script like this:
var rudp = require('rudp');
var dgram = require('dgram');
var socket = dgram.createSocket('udp4');
socket.bind(localPort);
var client = new rudp.Client(socket, remoteAddress, remotePort);
// And do whatever you want here