mise a la norme et ajout de ressources dans readme

This commit is contained in:
hugogogo
2021-09-03 15:43:51 +02:00
parent db27c5bee9
commit da0ec36756
7 changed files with 28 additions and 33 deletions

View File

@@ -1,29 +1,25 @@
# README #
# MINITALK
This README would normally document whatever steps are necessary to get your application up and running.
### how to use :
### What is this repository for? ###
first launch server :
```
./server
```
it will print a line with its own pid, and an empty line below
if you want to terminate the program hit `ctrl-c`
* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
then in another window launch the client, with two arguments :
```
./client [SERVER PID] [string]
```
[SERVER PID] is the pid number printed by the server
[string] is whatever you want to write, surrounded by `"` if you want to include spaces : `"a random phrase"`
### How do I get set up? ###
### ressources
* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions
### Contribution guidelines ###
* Writing tests
* Code review
* Other guidelines
### Who do I talk to? ###
* Repo owner or admin
* Other community or team contact
- **use of getpid** : https://www.includehelp.com/c/getpid-and-getppid-functions-in-c-linux.aspx
- **use of signal** : https://linuxhint.com/signal_handlers_c_programming_language
- **use of sigaction** : https://stackoverflow.com/a/17572787/9497573
- **standard signal vs real time signals (with queue option)** : https://www.softprayog.in/programming/posix-real-time-signals-in-linux
- **test time of functions in program** : https://stackoverflow.com/a/5833240/9497573