Permalink
Browse files

Test file

  • Loading branch information...
c4milo committed May 14, 2012
1 parent b01ee13 commit 8c1fb474ae60b5d395337bde9f87f5a195703ff6
Showing with 15 additions and 0 deletions.
  1. +15 −0 t.js
View
15 t.js
@@ -0,0 +1,15 @@
+var agent = require('./index');
+
+var http = require('http');
+http.createServer(function (req, res) {
+ console.log('boooo');
+ res.writeHead(200, {'Content-Type': 'text/plain'});
+ res.end('Hello World\n');
+console.log('nooooooooooooooooo');
+}).listen(9000, '127.0.0.1');
+
+/*var i = 0;
+setInterval(function() {
+ console.log(i++);
+}, 3000);*/
+console.log('Server running at http://127.0.0.1:9000/ , pid-> ' + process.pid);

0 comments on commit 8c1fb47

Please sign in to comment.