Solved

C++ / Using OpenSSL with Dev-Cpp

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

737 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