Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

node.js

Name: Anonymous 2010-12-02 15:25

var http = require('http');
http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('GRUNNUR\n');
}).listen(80, "'0.0.0.0');



What do you think prog? It's kind of like twisted for python, except the whole language is designed around the event loop and non blocking I/O.

http://nodejs.org/

Name: Anonymous 2010-12-03 6:07

>>5
Don't hate me, I just want to fit in :(
I've only really written Windows C code, so I used Winsock.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List