Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-code12/chatapplication
https://github.com/m-code12/chatapplication
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/m-code12/chatapplication
- Owner: m-code12
- Created: 2024-01-30T17:30:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-30T17:31:16.000Z (11 months ago)
- Last Synced: 2024-10-28T09:12:48.072Z (about 2 months ago)
- Language: C++
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Chat Application using Winsock
This repository contains a simple chat application developed in C++ using Winsock library. The application consists of a server and multiple clients that can communicate with each other over a network.
## Features
- **Server-Client Architecture**: The project is structured with a server that listens for incoming connections and multiple clients that can connect to the server to send and receive messages.
- **Multithreading**: Each client interaction is handled in a separate thread, allowing the server to handle multiple clients simultaneously.
- **Basic Chat Functionality**: Clients can send messages to the server, and the server broadcasts these messages to all connected clients.## How to Use
1. Clone the repository to your local machine.
2. Open the server project and build it.
3. Open multiple instances of the client project, specifying the server IP and port.
4. Connect the clients to the server and start chatting!## Prerequisites
- Visual Studio (or any C++ compiler that supports Winsock)
- Windows Operating System## Usage
1. Build and run the server project (`Server.cpp`).
2. Build and run multiple instances of the client project (`Client.cpp`).
3. Enter your name when prompted and start sending messages.## Image
![server_client](https://github.com/RiddheshFirake/Chat-Application-using-Socket/assets/121459912/f7d317f9-9862-478a-97dd-18d91c73a5d3)## Video Tutorial
[Link to the video tutorial](https://www.youtube.com/watch?v=okzEZmnVWnM)## Acknowledgments
- Thanks to [Amit] for the informative tutorial.Feel free to fork the repository and customize the code according to your needs.
Happy coding!