The Limiting Factor

- semi-structured line noise.

A Simple Chat App Using Aleph, Websockets and Clojure

| Comments

I have implemented a small example shoving how to use the websocket support in Aleph, asynchronous webframework for Clojure built on Netty.

The example is tested with Chrome and Firefox on Ubuntu. It should work in all modern browsers as it relies on web-socket-js for websocket emulation in browsers that do not have native support. Please note the updated Usage instructions. The socket-policy-server necessary for Flash websocket emulation has to listen on port 843 (at least that is the first place Flash asks for the policy file) so the server has to be run using sudo.

If you are interested the example is at hosted on github, along with usage instructions.

Comments