Node.js

Node.js est un canevas événementiel pour réaliser des applications serveur en Javascript.

HTTP script
var http = require("http");

http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/plain"});  response.write("Hello World");  response.end; }).listen(8888);

UDP Datagrams
var dgram = require("dgram");

var server = dgram.createSocket("udp4");

server.on("message", function (msg, rinfo) { console.log("server got: " + msg + " from " + rinfo.address + ":" + rinfo.port); });

server.on("listening", function {  var address = server.address;  console.log("server listening " + address.address + ":" + address.port); });

server.bind(41234); // server listening 0.0.0.0:41234