> From: openssl-users <openssl-users-bounces@xxxxxxxxxxx> On Behalf Of Don Payette > Sent: Thursday, 18 May, 2023 09:35 > I'm a programmer that is responsible for a Windows Service written in Visual C++.It communicates > with a server using Winsock. I've been tasked with converting it to use encryption for the connection. > Are there any sample programs or any kind of guidance in how to code this? Robert's questions in his reply are pertinent – "communicates ... using Winsock" could mean a number of things. But that aside: do you have a requirement to use OpenSSL? Windows includes its own TLS implementation, Microsoft's Schannel, and if you only need to support Windows that is, frankly, probably an easier route. OpenSSL has various advantages, such as portability and flexibility, but if all you need is normal TLS support for Windows only, Schannel will give you a somewhat simpler API (even simpler if you were using .NET) and integration with Windows PKI, which is often more convenient for Windows customers. It would help to know more about what actual problem you're trying to solve, rather than what technology you think you should use to solve it. -- Michael Wojcik