https://github.com/j4cobgarby/t-chat-server-client
A simple chat client
https://github.com/j4cobgarby/t-chat-server-client
chat-application client networking server sfml
Last synced: over 1 year ago
JSON representation
A simple chat client
- Host: GitHub
- URL: https://github.com/j4cobgarby/t-chat-server-client
- Owner: j4cobgarby
- Created: 2017-12-13T16:08:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T14:39:57.000Z (about 8 years ago)
- Last Synced: 2025-01-21T18:49:02.353Z (over 1 year ago)
- Topics: chat-application, client, networking, server, sfml
- Language: C++
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# t
## A very simple chat client and server
### Why's it called *t*?
Because *talk* begins with *t*.
### Features
- Hosting a server on a port of your choice.
- Server motd.
- Easy to use.
- Named clients.
- As many clients as your computer can handle.
- Can read the motd from a file.
### Requirements
- CMake >= 3.4 (for building/installing)
- SFML >= 2.0 (as a sockets library)
- A Unix system (linux, mac,) or Windows with the WSL.
### Installation
Once you're sure your system meets all of the requirements, run the following commands:
```
git clone https://github.com/j4cobgarby/t-chat-server-client
cd t-chat-server-client
mkdir build && cd build
cmake ..
sudo make install
# Quick test
t --help
t-server --help
# Should print a help message
```
### Usage
#### Starting a server
```
t-server
```
And then follow the instructions, *or*
```
t-server -m -p
```
To set the motd and port in one go.
#### Joining a server
```
t
```
And then follow the instructions, *or*
```
t -h -p -n
```