Solved

C++ / Using OpenSSL with Dev-Cpp

Posted on 2008-09-30
5
1,475 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 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Software to count how many instances of words 109 201
Free HD cloner 11 86
Remove software not listed in Programs & Features 13 54
Looking for good Imaging Software 6 34
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

830 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