yaws websocket chat
Erlang
Switch branches/tags
Nothing to show
Latest commit 4403930 Oct 30, 2011 Ferenc Vehmann fixed instructions
Permalink
Failed to load latest commit information.
src
www
.gitignore
README

README

Simple Web chat based on Yaws and Websocket.
Most of the code was cherry-picked from Joe's book (Programming Erlang) and the yaws examples.  


Usage:
 0) configure ybed.erl: DOCROOT must point to the directory where chat.html is; check the -include: the location of yaws_api.hrl might be somewhere else.
 1) start: ybed_sup:start_link().
 2) browser: http://localhost:7000/chat.html or file:///path_to/chat.html
 

Note:
The standard of WebSocket is under development thus yaws and the browser 
must support the same WS version in order to work correctly.


Tested with yaws 1.91.
 + works with Safari Version 5.1.1 (6534.51.22) but 
 - does NOT with Chrome (15.0.874.102) 
 - probably not with Chrome (14.x).