You are not logged in.

#1 2008-05-28 18:43:09

tntcoda
Member
Registered: 2007-07-24
Posts: 115

C++ Sockets + SSL

Hi,

Im fairly familiar with using basic sockets in C++, but if i want to make a connection using SSL how would i do this?

Is there a nice 'ssl sockets' library or something similar i can use, anyone got any tutorials or anything on the subject?

Its really pretty simple send/recv client/sever work my sockets are doing, but the server supports SSL and i want to implement it in my client (as easily as possible!).

Thanks for any help,

Jack

Last edited by tntcoda (2008-05-28 18:43:53)

Offline

#2 2008-05-28 19:14:41

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: C++ Sockets + SSL

You might want to look at openssl - http://www.openssl.org/

Offline

#3 2008-06-25 09:36:24

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: C++ Sockets + SSL

The Poco C++ library has a clear implementation of secure sockets using openSSL.

You could use this entire library (which is great btw smile ) or check out the "SecureSocketImpl" class for details on how to implement it yourself.

http://pocoproject.org/poco/docs/

Offline

Board footer

Powered by FluxBB