Skip to content

f3r3nc/yaws-web-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

yaws websocket chat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages