[section::skychat] | ||||
This is chat system working as java applet (client written in Java), console application (client written in C++) and server written in C++. | ||||
Server responsibilities: 1. Stay running and listening on specified TCP port. 2. Keep clients connections, resend packets to each logged client. 3. Authorize clients. 4. Keep clients login time informations. Server events: 1. Receive client connection: a) authorize client. b) store clients connection data in servers structures. c) keep client connection active. d) send information to all logged clients that new client appeared.
2. Connection broken, or receive client log out request.
3. Receive public message from client.
4. Receive private messege from client to other client. 1. Keep interaction with user: a) java applet - comfortable program that is run via internet browser. b) linux console application - text based application in linux console/terminal. 2. send clients requests to server. 3. receive messages from server. Client events: 1. source: User Interface a) user clicked [log in] - parse user login - send login request to server - receive servers feedback b) user has inserted public message - parse user message - send message to server c) user has post private message to other user - parse user message - send message to server - receive servers feedback
2. source: server | ||||
[section::download] | ||||
| ||||
[section::screenshots] | ||||
|