forked from scott/threaded_network_chat
update readme again
This commit is contained in:
18
README.md
18
README.md
@@ -24,15 +24,19 @@ and inconsistent. If you set up your editor correctly, it will take care of most
|
|||||||
- Distribute appropriate code to people with those responsibilities
|
- Distribute appropriate code to people with those responsibilities
|
||||||
- Have everyone upload their respective code to their sections of the gitlab
|
- Have everyone upload their respective code to their sections of the gitlab
|
||||||
|
|
||||||
## Code
|
|
||||||
|
|
||||||
Everything is in [src/](src).
|
|
||||||
A mostly untouched copy of [Scott's original code](https://git.therats.win/scott/threaded_network_chat) is also in [old/](old).
|
|
||||||
A reformatted version of that code is also in [modified-example.cc](modified-example.cc) but it can be ignored.
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
```
|
```
|
||||||
cd src/
|
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
./ct # run as server
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
./ct client # run as client
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user