Lurker News

Comments (140) 32 threads

Show all comments

Showing thread 2 of 32

joewalnes2 replies#
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.
comboy1 reply#
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?

jakejake#
In the source code /examples folder most of the languages have a bi-directional example called "greeter"
itsbits1 reply#
can i use other web socket clients like socket.io??
tracker11 reply#
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.

joewalnes1 reply#
WebSockets are message based.
tracker1#
I realize this... I meant to say that socket.io adds a lot more than just websockets.