This is a chat room example from  Erlang/OTP R11B documentation. It is executable totally.