Simple Chatroom with C implementation