https://github.com/ashutoshthings/retrochat
A Terminal based chatting application.
https://github.com/ashutoshthings/retrochat
c server-client-application socketprogramming winsock2
Last synced: 7 months ago
JSON representation
A Terminal based chatting application.
- Host: GitHub
- URL: https://github.com/ashutoshthings/retrochat
- Owner: AshutoshThings
- Created: 2024-11-27T16:33:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T12:48:51.000Z (about 1 year ago)
- Last Synced: 2025-02-02T03:18:41.731Z (12 months ago)
- Topics: c, server-client-application, socketprogramming, winsock2
- Language: C
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RetroChat - Terminal Based Chat Application
RetroChat is a terminal-based real-time chat application built using C. It allows multiple clients to communicate through a central server without the need for port forwarding or complex setups.
> Think of it like old-school LAN chat but over the internet!
---
## Features
- Real-time chatting between multiple clients
- Server-Client architecture
- No port forwarding needed on client side
- Terminal-friendly interface
- Simple command-based usage
---
## Tech Stack
- C (Networking)
- Sockets (TCP)
- Windows based terminal app
- Server mediates communication between clients
---
## Project Structure
```
├── RetroChat/
│ ├── server.c
│ ├── client.c
│ ├── README.md
```
## Setup & Run
### 1. Clone the repository
```bash
git clone https://github.com/AshutoshThings/RetroChat.git
cd RetroChat
```
## Setup & Run (Windows)
### 2. Compile
Use any of the following methods:
- Visual Studio (Recommended)
- g++ with MinGW
- Command line build (Example):
```bash
g++ server.cpp -o server -lws2_32
g++ client.cpp -o client -lws2_32
```
-lws2_32 links the Windows Sockets (Winsock) library required for networking.
### 3. Run the Server
```bash
./server
```
### 4. Run the Client
```bash
./client
```
Made with ❤️ by AshutoshThings