Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OP here. Something I forgot to mention on the page is how much this simplified life for a server admin. Using "ps" you can see each connection, the memory overhead, CPU usage. It's easy for a sysadmin to kill bad connections without taking down the whole server.


I like the project. But it says:

> Full duplex messaging

And the examples only show single direction. Is my understanding correct that everything received goes as STDIN? And is it also possible to run websocketd as a client?


In the source code /examples folder most of the languages have a bi-directional example called "greeter"


can i use other web socket clients like socket.io??


websockets after upgrade are not message based like the same as socket.io (which adds fallback/fall-forward) and sockjs does this providing a stream interface...

If you don't need to support a web browser client, you don't need the extra overhead.. and if you do, you're better off just using socket.io or shoe and having your server in node.js ... as an aside, I'd probably just use raw sockets in node if I didn't need browser support.


WebSockets are message based.


I realize this... I meant to say that socket.io adds a lot more than just websockets.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: