Download presentation
Presentation is loading. Please wait.
1
CHATROOM PROJECT Supervised by DAN WITZNER HANSEN Group Members ESWAR EMMADI SURESH KUMAR DONTHA
2
CLIENT-SERVER MODEL - TCP/IP - JAVA SOCKETS - THREADS
3
CLIENT SERVER Server: listens to client’s connection request. accepts or rejects a connection request accordingly. upgrades all online clients’ UserLists when any client logs out or log on. receives messages from clients and broadcasts them accordingly. Client: requests connection to the known server (server ID and port is known) sends message to server, giving indication whether it is private or public. logs out and notice server. receives message from server and put into public response or private response text area accordingly
4
AUSSUMPTIONS One server – multiple clients The server is started first No user authentication required
5
Client Interface Server ID/Name: Username:
6
Client Interface UserList Message GetUsers Public Message Private Message
7
Client Interface
8
CLASS OVERVIEW
9
LIMITATIONS Single server => Single point of failure Message broadcast
10
FURTHER ENHANCEMENTS User authentication File sharing
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.