The author discusses their project to enable their Gateway 4DX2-66 running Windows 3.11 to connect to the internet using a modern Transport Layer Security Protocol (TLS). While most new programs for retro computers require a proxy on a modern computer to handle the SSL/TLS connection that most APIs require, the author was inspired to try and modify a TLS library to compile and work in the Windows 3.1 environment. After extensive work with the WolfSSL library and overcoming challenges with DLLs and memory segmentation architecture, the author provides the modified source code for WolfSSL and a new AI Assistant for Windows 3.1 called WinGPT that uses the library to connect directly to OpenAI API servers.
https://www.dialup.net/wingpt/tls.html