modifs mise en page readme
This commit is contained in:
@@ -3,20 +3,23 @@
|
|||||||
### how to use :
|
### how to use :
|
||||||
|
|
||||||
first launch server :
|
first launch server :
|
||||||
|
|
||||||
```
|
```
|
||||||
./server
|
./server
|
||||||
```
|
```
|
||||||
it will print a line with its own pid, and an empty line below
|
|
||||||
|
|
||||||
|
it will print a line with its own pid, and an empty line below
|
||||||
|
|
||||||
if you want to terminate the program hit `ctrl-c`
|
if you want to terminate the program hit `ctrl-c`
|
||||||
|
|
||||||
|
|
||||||
then in another window launch the client, with two arguments :
|
then in another window launch the client, with two arguments :
|
||||||
|
|
||||||
```
|
```
|
||||||
./client [SERVER PID] [string]
|
./client [SERVER PID] [string]
|
||||||
```
|
```
|
||||||
|
|
||||||
[SERVER PID] is the pid number printed by the server
|
[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"`
|
[string] is whatever you want to write, surrounded by `"` if you want to include spaces : `"a random phrase"`
|
||||||
|
|
||||||
### ressources
|
### ressources
|
||||||
|
|||||||
Reference in New Issue
Block a user