added example commands to readme

This commit is contained in:
Aidan Hahn 2019-05-25 21:53:43 -07:00
parent c10988bfde
commit 0f64d99b36
No known key found for this signature in database
GPG key ID: 327711E983899316

View file

@ -26,8 +26,16 @@ After changing directory to the 'staging/client' folder or the 'staging/server'
$ ./server (port)
$ ./client (hostname) (port) (command) (arguments)
```
For example:
```
$ ./buildwrapper.sh
.....
$ cd staging/server
$ ./server 8448 &
$ cd ../client
$ client localhost 8448 new ping archive.org
```
alternatively, for guidance:
```
$ ./server
$ ./client help