Solved

C++ / Using OpenSSL with Dev-Cpp

Posted on 2008-09-30
5
1,504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

728 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