Re: WebSockets server for broadcasting log events

2011-03-01 Thread Zach Tellman
Using Aleph (https://github.com/ztellman/aleph), you can create a server that broadcasts messages from any client to all other clients very easily: (use 'aleph.http 'lamina.core) (def broadcast-channel (permanent-channel)) (start-http-server (fn [ch _] (siphon broadcast-channel ch) (si

WebSockets server for broadcasting log events

2011-02-28 Thread MohanR
I refer this earlier thread https://groups.google.com/group/clojure/browse_thread/thread/f129d366ded1a3a0 We are trying to develop a WebSocket server in Clojure that can broadcast Log4J messages to browsers. The Log4J code is Java and apart from writing files it will call the Clojure WebSocket s