Fix documentation per Christian Huitema's comments
@@ -5,7 +5,7 @@ The sample program is a simple QUIC client/server demo.
Building
--------
-picoquic\_sample is built as part of the compilation process of picoquic. It is
+picoquic\_sample is built as part of the compilation process of picoquic. It
will be available in the root folder.
Usage
@@ -20,8 +20,8 @@ Example
Generate the certificates:
```
-openssl req -x509 -newkey rsa:4096 -days 365 -keyout ca-key.pem -out ca-cert.pem
-openssl req -newkey rsa:4096 -keyout server-key.pem -out server-req.pem
+openssl req -x509 -newkey rsa:2048 -days 365 -keyout ca-key.pem -out ca-cert.pem
+openssl req -newkey rsa:2048 -keyout server-key.pem -out server-req.pem
```
These commands will prompt a few questions, you don't need to put actual data
for this simple test.
@@ -34,10 +34,10 @@ echo "Hello world!" >> ./server_files/index.htm
And run the server:
```
-sudo ./picoquic_sample server 443 ./ca-cert.pem ./server-key.pem ./server_files
+./picoquic_sample server 4433 ./ca-cert.pem ./server-key.pem ./server_files
```
Then, test if you can reach it using the client:
```
-sudo ./picoquic_sample client localhost 443 /tmp index.htm
+./picoquic_sample client localhost 4433 /tmp index.htm
```
