5 ms·
A good project for learning nodejs but why http over a simple "tcp" server I wonder?
by z8000 17y ago
A good project for learning nodejs but why http over a simple "tcp" server I wonder?
- kordless 17y agoSure. You'd probably want to use plain ol' syslog to forward stuff in, but you might also want to be able to stream the events back to your browser. There really wasn't a good and easy way to do this until node.js came along. Oh, it's been done, such as using something like Twisted to stream the data back to the browser, but coding in Twisted is like taking mushrooms and running around naked in rural Oklahoma. It doesn't end well.