A distributed chatroom with c