Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/landiluigi746/chatwin
A simple client-server chat application for Windows
https://github.com/landiluigi746/chatwin
c c-programming-language chatapp client-server fun networking-basic pdcurses windows winsock2
Last synced: about 1 month ago
JSON representation
A simple client-server chat application for Windows
- Host: GitHub
- URL: https://github.com/landiluigi746/chatwin
- Owner: landiluigi746
- License: mit
- Created: 2024-08-04T23:10:35.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-07T18:42:51.000Z (3 months ago)
- Last Synced: 2024-09-30T01:05:24.982Z (about 1 month ago)
- Topics: c, c-programming-language, chatapp, client-server, fun, networking-basic, pdcurses, windows, winsock2
- Language: C
- Homepage:
- Size: 617 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatWin
[![Build status](https://github.com/landiluigi746/ChatWin/workflows/Windows/badge.svg)](https://github.com/landiluigi746/ChatWin/actions/workflows/windows.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/landiluigi746/llib/LICENSE)
[![Language: C](https://img.shields.io/badge/Language-C-blue)](https://github.com/topics/c)ChatWin is a simple client-server chat application for Windows, written in C using WinSock2 for the network part and PDCurses for the user interface.
Clients can connect to a server, enter their username and exchange messages with other clients connected to the same server.## Usage
#### 1. Clone the repository
First, clone the repository: `git clone --recursive https://github.com/landiluigi746/ChatWin.git .\`.#### 2. Build
Run `build.bat` to run premake5 to build solution and project files for Visual Studio 2022, or change action if you need to.
Open `ChatWin.sln` in Visual Studio 2022 and build the projects `Client` and `Server`.#### 3. Run
Navigate to the folder where you compiled the projects, open a command prompt and run:
- `.\Server.exe [address] [port]` to start the server
- `.\Client.exe [address] [port]` to start the client