| | |
Multi Client server
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
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
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
- Remote Computer Shutdown (Windows NT / 2000 / XP)
- Winsock Multi-Client Servers (C++)
- What's the HARDEST program you've written? (Computer Science)
- multi-client server [problem with code - please have a look] (Java)
- C++ Server: Multi-thread VS Single-thread (C++)
- Connecting to a SQL Server Database using VB (VB.NET)
- Create Socket server and client? (C++)
- Multi-user program issues (VB.NET)
Other Threads in the C++ Forum
- Previous Thread: vector trouble
- Next Thread: array numbers
Views: 1059 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll email encryption error file format forms fstream function functions game generator getline givemetehcodez graph iamthwee ifstream image input int java lib loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg search sort sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






