This is a simple TCP messaging server which handles registration, authentication and message sending from clients.
- tag REGISTER {number} {password} {name}
- tag AUTH {number} {password}
- tag SELECT {folder} (here folder can be INBOX or SENT)
- tag FETCH
- tag FETCH AFTER DATE {date}
- tag FETCH AFTER ID {id}
- tag SEND {number} {message}
- tag BYE
call following command from erlang shell to start the TCP server.
tcp_server:start_server().call following command from erlang shell after starting the TCP server.
test_client:start().This will start sample client module filled with few commands. The output of each command will be visible on shell.