Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

C++ and SSL, can it happen?

Hello,
I want to make a client - server application in C++(console based, NON VC++, but IDE used is VC++ 2005)
I want a SSL based connection between client and server. Can it happen in C++. If Yes, please reply.
Pawan
[244 byte] By [ppuniversal] at [2007-11-11 10:24:42]
# 1 Re: C++ and SSL, can it happen?
Hi,
it's definitely do-able (I would be surprised if SSL is implemented in C++ in most cases).
have a look on the Web, e.g.
http://www.codeproject.com/internet/casyncsslsocketlayer.asp
Cheers,
D
drkybelk at 2007-11-11 20:59:00 >
# 2 Re: C++ and SSL, can it happen?
OK,
I have searched net, and got info about OpenSSL.org,
I will try using OpenSSL, if succeeded, then will reply, otherwise will post in more detail.
PAWAN
ppuniversal at 2007-11-11 21:00:00 >
# 3 Re: C++ and SSL, can it happen?
I have downloaded OpenSSL files, and they say that I have to have Perl to use it with VC++, and compile it .... and many more things.

Is there any way that I can just use the headers/libraries to make my programs, like including say ssl.h in my programs.

Please Reply
Pawan
ppuniversal at 2007-11-11 21:01:00 >
# 4 Re: C++ and SSL, can it happen?
I got the package from OpenSSL.org, and unzipped it.

But the whole system for installing the libraries is too complex, given in its install.W32 file. It also says that I it will require PERL for its compilation (as I am making project in VC++ 2005).

Cant there be any simple mechanism to get the SSL library to make programs in C++(I am using VC++ just as an IDE, actually making a console C++ application, so not using any libraries of VC++).

Please Reply Soon
Pawan
ppuniversal at 2007-11-11 21:02:01 >