(06-27-2019, 03:46 AM)MusicBuddha Wrote: I am just wondering if Indy Supports SSL?
Of course. Though, not NATIVELY, ie it does not implement the actual SSL/TLS protocol itself, it relies on an external library to handle the details on Indy's behalf. Indy has built-in support for only OpenSSL (up to v1.0.2, but not v1.1.x yet), but you can plugin any SSL/TLS library you want as long as you can obtain, or write, a custom class derived from Indy's TIdSSLIOHandlerSocketBase to interface with that library's API as needed (for example, /n Software's (formerly EldoS's) SecureBlackbox provides classes for using its own SSL/TLS library with Indy).
(06-27-2019, 03:46 AM)MusicBuddha Wrote: If so could someone possible post an example in C++?
There are tons of examples and tutorials floating around online, they should not be hard to find, and if needed translated to C++ since Delphi and C++Builder share the same RTL and VCL/FMX frameworks. But in a nutshell, all you really need to do is assign an appropriate SSLIOHandler component to the IOHandler property of Indy's client/server components, configure the SSLIOHanlder as needed, and then set its PassThrough property to False when you are ready to perform an SSL/TLS handshake on an active connection (explicit TLS), or before a connection is made (implicit TLS).