Update README.md
parent
6fdf7ef3d4
commit
55861e82ec
|
@ -1,50 +1,52 @@
|
|||
This is an example to demonstrate how the custom IO callbacks can be used to
|
||||
facilitate a TLS connection using any medium. Here we chose the medium of files.
|
||||
This is an example to demonstrate how the custom IO callbacks can be used to</br>
|
||||
facilitate a TLS connection using any medium. Here we chose the medium: "File System".</br>
|
||||
|
||||
Other mediums might be:
|
||||
USB Serial connection
|
||||
Bluetooth
|
||||
RFID
|
||||
Wifi
|
||||
Ethernet
|
||||
|
||||
To name a few.
|
||||
|
||||
These examples use the wolfSSL Custom IO Callbacks to read and write to the file
|
||||
system and perform a successful handshake.
|
||||
|
||||
The configuration used for these examples was:
|
||||
./configure --enable-debug
|
||||
|
||||
Debug was enabled in case a user wishes to use the verbose flag to see what is
|
||||
happening in real time:
|
||||
|
||||
Usage examples:
|
||||
|
||||
From the file-server directory:
|
||||
./start-server
|
||||
./start-server -v
|
||||
./start-server -verbose
|
||||
|
||||
From the file-client directory:
|
||||
./start-client
|
||||
./start-client -v
|
||||
./start-client -verbose
|
||||
|
||||
(-v and -verbose accomplish the same thing)
|
||||
|
||||
|
||||
SCRIPTS: The scripts provided attempt to make testing easier.
|
||||
|
||||
file-server/check.sh
|
||||
- starts the server in a background shell and runs the client
|
||||
USAGE:
|
||||
./check.sh
|
||||
./check.sh -v
|
||||
./check.sh -verbose
|
||||
|
||||
file-client/clean-io-files.sh
|
||||
- If something happens and there is leftover junk in the io files run this
|
||||
script to quickly cleanup before next round of testing.
|
||||
USAGE:
|
||||
./clean-io-files.sh
|
||||
Other mediums might be: </br>
|
||||
USB Serial connection </br>
|
||||
Bluetooth </br>
|
||||
RFID </br>
|
||||
Wifi </br>
|
||||
Ethernet </br>
|
||||
</br>
|
||||
Just to name a few.</br>
|
||||
</br>
|
||||
These examples use the wolfSSL Custom IO Callbacks to read and write to the file</br>
|
||||
system and perform a successful handshake.</br>
|
||||
</br>
|
||||
The configuration used for these examples was:</br>
|
||||
./configure --enable-debug</br>
|
||||
</br>
|
||||
Debug was enabled in case a user wishes to use the verbose flag to see what is</br>
|
||||
happening in real time:</br>
|
||||
</br>
|
||||
Usage examples:</br>
|
||||
</br>
|
||||
From the file-server directory:</br>
|
||||
./start-server</br>
|
||||
./start-server -v</br>
|
||||
./start-server -verbose</br>
|
||||
</br>
|
||||
From the file-client directory:</br>
|
||||
./start-client</br>
|
||||
./start-client -v</br>
|
||||
./start-client -verbose</br>
|
||||
</br>
|
||||
(-v and -verbose accomplish the same thing)</br>
|
||||
</br>
|
||||
</br>
|
||||
SCRIPTS: The scripts provided attempt to make testing easier.</br>
|
||||
</br>
|
||||
file-server/check.sh</br>
|
||||
- starts the server in a background shell and runs the client </br>
|
||||
</br>
|
||||
USAGE:</br>
|
||||
./check.sh</br>
|
||||
./check.sh -v</br>
|
||||
./check.sh -verbose</br>
|
||||
</br>
|
||||
file-client/clean-io-files.sh</br>
|
||||
- If something happens and there is leftover junk in the io files run this</br>
|
||||
script to quickly cleanup before next round of testing.</br>
|
||||
USAGE:</br>
|
||||
./clean-io-files.sh</br>
|
||||
</br>
|
||||
|
|
Loading…
Reference in New Issue