Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
nodejs
net.js
net.js
//modules var net = require('net'); var s = net.createServer(); s.addListener('connection', function(c){ c.end('HElOooo!'); } ); s.listen(8000); ////// How to run this TCP script? /////// //run script $nodemon net.js //then run telnet: $ telnet localhost 8000
Reload page
Preview
W3C validation
Edit Code
JS Console