README: list fix
parent
71bb6cb581
commit
74facb96d1
|
@ -54,18 +54,25 @@ file reference should then be modified to point to the correct location.
|
||||||
Third, it is recommended that you make a new directory to write your files
|
Third, it is recommended that you make a new directory to write your files
|
||||||
into.
|
into.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Table of contents
|
## Table of contents
|
||||||
|
|
||||||
0. [Running these examples](#run)
|
1. [Running these examples](#run)
|
||||||
0. [Compiling these examples](#compile)
|
2. [Compiling these examples](#compile)
|
||||||
0. [A simple TCP client/server pair](#tcp)
|
3. [A simple TCP client/server pair](#tcp)
|
||||||
0. [Server](#server-tcp)
|
|
||||||
0. [Client](#client-tcp)
|
1. [Server](#server-tcp)
|
||||||
0. [Running](#run-tcp)
|
2. [Client](#client-tcp)
|
||||||
0. [Converting to use wolfSSL](#tls)
|
3. [Running](#run-tcp)
|
||||||
0. [Server](#server-tls)
|
|
||||||
0. [Client](#client-tls)
|
4. [Converting to use wolfSSL](#tls)
|
||||||
0. [Running](#run-tls)
|
|
||||||
|
1. [Server](#server-tls)
|
||||||
|
2. [Client](#client-tls)
|
||||||
|
3. [Running](#run-tls)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## <a name="run">Running these examples</a>
|
## <a name="run">Running these examples</a>
|
||||||
|
|
||||||
|
@ -80,6 +87,8 @@ If you have a tool such as Wireshark, you can use it to inspect the connection.
|
||||||
If you have any troubles with compiling or running that do not seem to be due
|
If you have any troubles with compiling or running that do not seem to be due
|
||||||
to the code, see [the section on compiling](#compile) below.
|
to the code, see [the section on compiling](#compile) below.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## <a name="compile">Compiling these examples</a>
|
## <a name="compile">Compiling these examples</a>
|
||||||
|
|
||||||
If you stick to the naming convention, copying the makefile `Makefile` (which
|
If you stick to the naming convention, copying the makefile `Makefile` (which
|
||||||
|
@ -123,6 +132,8 @@ For `client-tls-writedup`, it is required that wolfSSL be configured with the
|
||||||
`--enable-writedup` flag. Remember to build and install wolfSSL after
|
`--enable-writedup` flag. Remember to build and install wolfSSL after
|
||||||
configuring it with this flag.
|
configuring it with this flag.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## <a name="tcp">A simple TCP client/server pair</a>
|
## <a name="tcp">A simple TCP client/server pair</a>
|
||||||
|
|
||||||
We'll begin by making a simple client/server pair that will communicate in
|
We'll begin by making a simple client/server pair that will communicate in
|
||||||
|
@ -543,11 +554,13 @@ And that's everything! Our client will just be a quick one-and-done thing.
|
||||||
|
|
||||||
`server-tcp` can be connected to by the following:
|
`server-tcp` can be connected to by the following:
|
||||||
|
|
||||||
* `client-tcp.c`
|
* `client-tcp`
|
||||||
|
|
||||||
`client-tcp` can connect to the following:
|
`client-tcp` can connect to the following:
|
||||||
|
|
||||||
* `server-tcp.c`
|
* `server-tcp`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## <a name="tls">Converting to use wolfSSL</a>
|
## <a name="tls">Converting to use wolfSSL</a>
|
||||||
|
|
||||||
|
@ -869,20 +882,20 @@ And we're done. We should now have a fully functional TLS client.
|
||||||
|
|
||||||
`server-tls` can be connected to by the following:
|
`server-tls` can be connected to by the following:
|
||||||
|
|
||||||
* `client-tls.c`
|
* `client-tls`
|
||||||
* `client-tls-callback.c`
|
* `client-tls-callback`
|
||||||
* `client-tls-ecdhe.c`
|
* `client-tls-ecdhe`
|
||||||
* `client-tls-nonblocking.c`
|
* `client-tls-nonblocking`
|
||||||
* `client-tls-resume.c`
|
* `client-tls-resume`
|
||||||
* `client-tls-writedup.c`
|
* `client-tls-writedup`
|
||||||
|
|
||||||
`client-tls` can connect to the following:
|
`client-tls` can connect to the following:
|
||||||
|
|
||||||
* `server-tls.c`
|
* `server-tls`
|
||||||
* `server-tls-callback.c`
|
* `server-tls-callback`
|
||||||
* `server-tls-ecdhe.c`
|
* `server-tls-ecdhe`
|
||||||
* `server-tls-nonblocking.c`
|
* `server-tls-nonblocking`
|
||||||
* `server-tls-threaded.c`
|
* `server-tls-threaded`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue