Thanks William!
I loaded express and was able to get the basic web server working. Much
simpler code as well.
Regards,
Gary
var express = require('express');
var app = express();
app.get('/', function(req, res){
res.send('Hello World');
});
app.get('/socket.html', function(req, res){
res.sendfile('/var/lib/cloud9/socket.html');
});
var server = app.listen(8000, function() {
console.log('Listening on port %d', server.address().port);
});
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.