Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C++ / Using OpenSSL with Dev-Cpp

Posted on 2008-09-30
5
Medium Priority
?
1,587 Views
Last Modified: 2013-11-15
Hello,

I have downloaded the Dev-Cpp OpenSSL Devpack, and I'm looking for an complete example for use this library.

I just want to be able to access a Web HTTPS page, and obtain an answer.

I'm not really familiar with this library.

Thanks in advance !
0
Comment
Question by:Valty
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:mbodewes
ID: 22608731
Maybe take a look at the stunnel or curl sources as well? curl uses ssl to retrieve web-pages, so you might be able to use a subset of curl...
0
 

Author Comment

by:Valty
ID: 22609495
I have looked for curl. I think it is a good way to do what I want to do : HTTPS POST and HTTPS GET.

If anybody have example code to do that, it would help me.
0
 
LVL 9

Accepted Solution

by:
mbodewes earned 1500 total points
ID: 22610828
I haven't directly programmed against curl but this sample page includes code for basic HTTP (which covers HTTP GET I suppose), HTTP POST and use of openssl.

http://curl.haxx.se/libcurl/c/example.html

Note that this was returned by a Google search. I highly recommend using a library like curl, http seems simple but there are many snags such as cookies, sessions, encodings etc. etc.
0
 

Author Comment

by:Valty
ID: 22616188
Yes, I have founded this link tomorrow via Google, and I do tests : it's all that I need.

Thanks for let me know cURL !
0
 

Author Closing Comment

by:Valty
ID: 31501623
Thanks you !
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question