This repository contains code for implementing Multi client chat Server. Work fast with our official CLI. Learn more. If nothing happens, download GitHub Desktop and try again.
Sports talk & news
If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again. The client should send the connection request to server.
The server should reply client with appropriate messages if connection can be established or not. Client should send a query message to server asking the details of online clients. Server should send the details of all the online clients [ each with unique key ].
Your request couldn't be processed
After receiving details, client can transfer messages to any other naz chat of choice by using its unique id. Note that this is a one to one communication. In order to disconnect, the client should send an EXIT message to the server.
The server should notify all other clients naz chat the details of client which is going to disconnect. Then terminate the client process. The message should be delivered to all clients connected to the server.
Twobasicparadigmsthathavetobeimplemented are:a. Theclientshouldbeable to transfer the files either personally or to a group.
Functionalities to be included Themessageshouldbesendtoallthepeers along with group info. Clientscanrespondto that group. Thisclientwillberemovedfromall the active groups. Otherwisearequestshouldbepassedtotheadminofthatgroupandifadminrespondstotherequestpositively then he should be ed to that group. Toimplementthispart,filehastobeedtoserverandthenthefileshouldbedownloadedtotherespectiveclientandshouldbetransparent to all the clients.
Branches Tags. Nothing to show. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit.
Data Transfer Phase: Message info table: 3. Connection Termination: 4.
Connection Establishment: The client should send the connection request to server. Successful: If the connection can be established successfully,then generate appropriate identifiers for naz chat client and store them at server. After connection is established,send client the above details with a welcome message. Client details table: Keep the details in shared memory.
Use synchronization while reading and writing into the memory. Data Transfer Phase: Client should send a query message to server asking the details of online clients. Message info table: Create another shared table which stores message details.
There can be a situation when a client A gets the list of online clients and before it can send any message to client B, client B goes offline. The sender in this case should be notified that client is now disconnected and that message should be discarded.
About This repository contains code for implementing Multi client chat Server. Resources Readme.
Releases No releases published. Packages 0 No packages published. You ed in with another tab or window. Reload to refresh your session. You ed out in another tab or window.