For usage with the TCPEncryptedServer from yours truly available here.
The private key on the server should have a public key counterpart, make sure this client has it or decryption will be impossible.
Only one-way communications are available atm.
./TCPEncryptedClient <IP> <PORT>
openssl-1.1.1
git clone "..."
cd TCPEncryptedClient
cmake -B build/ && cd build/ && make
./TCPEncryptedClient <IP> <PORT>