943,551 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2078
  • C++ RSS
Nov 19th, 2008
0

Multi Client server

Expand Post »
Write a client-server application program to design a chatting room implementation using sockets to communicate between a server and clients. For this project, the followings are minimal requirements.
Registration phase.
1.Each client will register to the server for joining a chatting with its own nick name.
2.One client will open a chatting room. This client will be the master client.
3.Other clients will join it.
4.Only the master client can close the chatting room.
Chatting Process phase.
1.Any client can send a socket. This socket will be transmitted to server when it types enter.
2.This socket("Message") will be distributed to all the clients in the chatting room.
3.Each message will be displayed on the window for each client with sender's name.
4.Any client can leave the chatting room freely except the master client.
Closing Phase.
1.Only master client can close the chatting room any time.
2.Before closing chatting room, the closing warning message will be distributed.
3.Another client can open the chatting room right after closing the current chatting room
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ishitasheth is offline Offline
1 posts
since Nov 2008
Nov 19th, 2008
1

Re: Multi Client server

Are you having a problem with this homework assignment? I recommend figuring out what information you need to help yourself and then operating on that.
Team Colleague
Reputation Points: 1133
Solved Threads: 171
Super Senior Demiposter
Rashakil Fol is offline Offline
2,478 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: vector trouble
Next Thread in C++ Forum Timeline: array numbers





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC