From sgcWebSockets 4.5.3, the openSSL 3.0 libraries are supported for the following compilers:
Delphi 7 - Rad Studio 11
OpenSSL it's a major release with several internal changes, but it doesn't offers several advantages over 1.1
The openSSL libraries have been renamed, for example:
Windows 32
Windows 64
The components that make use of the openSSL libraries, have been updated and a new option has been added to select the openSSL 3.0 API
For example: the WebSocket client has a property called TLSOptions.OpenSSL_Options.APIVersion where it can be selected the openSSL API version, the value olsAPI_3_0 has been added to select openSSL 3.0 libraries.
The openSSL libraries for all Rad Studio personalities can be downloaded from the private account of registered customers.
The components that make use of the openSSL libraries, have been updated and a new option has been added to select the openSSL 3.0 API
For example: the WebSocket client has a property called TLSOptions.OpenSSL_Options.APIVersion where it can be selected the openSSL API version, the value olsAPI_3_0 has been added to select openSSL 3.0 libraries.
TsgcWebSocketClient client = new TsgcWebSocketClient(); client.Host = "www.esegece.com"; client.Port = 2053; client.TLS = true; client.TLSOptions.OpenSSL_Options.APIVersion = TwsOpenSSLAPI.oslAPI_3_0; client.Active = true;
Find below a compiled demo for Windows, which allows to select the openSSL libraries (1.0, 1.1 or 3.0) to open secure WebSocket or HTTP connections.
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.