A chat server with authentication and chat rooms, written in Erlang.
erlc *.beam
- Enter Erlang interpreter.
chatServer:server(<PORT>).
- You can use
telnet
as a client.
\create <Username> <Password>
: create User account;\login <Username> <Password>
: login User;\close <Username> <Password>
: close User account;
\logout
: logout from session;\online
: list of all online users;\room <RoomName>
: change chat room (if it not exists it creates a new one);\room default
: change chat room to the initial one;\rooms
: list of all chat rooms;