[ilugd] Https connection using C API
Hi Experts, I have to send https request to server using c api. Please let me know which library to use Also let me know if any one has worked on it and have any POC for this. Thanks in advance Rashid ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Rashid Akhter wrote: I have to send https request to server using c api. Please let me know which library to use curl should handle this fine. http://search.yahoo.com/search?p=c%20curl%20api -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog I dare do all that may become a man; Who dares do more is none. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
No curl uses dll for it , it has no support for linux. I have a POC for https by curl but it uses dll for it's linkingso it can;t support LINUX. Any more ideas please Thanks a lot On 2/7/07, Raj Shekhar [EMAIL PROTECTED] wrote: Rashid Akhter wrote: I have to send https request to server using c api. Please let me know which library to use curl should handle this fine. http://search.yahoo.com/search?p=c%20curl%20api -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog I dare do all that may become a man; Who dares do more is none. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Rashid Akhter wrote: No curl uses dll for it , it has no support for linux. Where did you read that ? Which distro are you using ? I have a POC for https by curl but it uses dll for it's linkingso it can;t support LINUX. What is POC ? Maybe you should first learn how to compile code in linux first -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog I dare do all that may become a man; Who dares do more is none. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
I am taking the reference of same curl site that you have given the reference. It has solution only for windows using VC++. First It creates a dll then uses. How can I take that dll and build my code in Linux. POC is piece of code. On 2/7/07, Raj Shekhar [EMAIL PROTECTED] wrote: Rashid Akhter wrote: No curl uses dll for it , it has no support for linux. Where did you read that ? Which distro are you using ? I have a POC for https by curl but it uses dll for it's linkingso it can;t support LINUX. What is POC ? Maybe you should first learn how to compile code in linux first -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog I dare do all that may become a man; Who dares do more is none. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Rashid Akhter wrote: I am taking the reference of same curl site that you have given the reference. It has solution only for windows using VC++. First It creates a dll then uses. libcurl is available on multiple platforms (linux is one of them). I am not sure what page you are reading. Please read through http://curl.haxx.se/libcurl/c/libcurl-tutorial.html . -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog I dare do all that may become a man; Who dares do more is none. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Rashid Akhter wrote: I am taking the reference of same curl site that you have given the reference. It has solution only for windows using VC++. First It creates a dll then uses. Hi, Amazing How people look and find windoze code in the strangest places!!! Could this is be the first attack of the M$ Trojan at LA07? catch ya later (Ive gotta UnWire Life!!!) shiv - Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Shic can you help us in getting the problem solved. On 2/7/07, Shiv [EMAIL PROTECTED] wrote: Rashid Akhter wrote: I am taking the reference of same curl site that you have given the reference. It has solution only for windows using VC++. First It creates a dll then uses. Hi, Amazing How people look and find windoze code in the strangest places!!! Could this is be the first attack of the M$ Trojan at LA07? catch ya later (Ive gotta UnWire Life!!!) shiv - Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Https connection using C API
Rashid Akhter [EMAIL PROTECTED] wrote: Shic can you help us in getting the problem solved. Sure, IMHO its not a problem. Just do the following: - a) Download Curl. It can be found here -- http://curl.haxx.se/download/curl-7.16.1.tar.gz b) Untar the tarball like so: $ tar zxvf curl-7.16.1.tar.gz c) go into the curl source tree that would have got created by above. $ cd curl-7.16.1 d) run configure $ ./configure e) If you dont encounter any errors in above step, you can safely run make $ make f) If the package builds without any errors (99.9% of the time it does), then you can go into the tests directory and run the test harness $ cd tests $ make test Here you might see lotsa data flowing across the screen which will culminate with a test report. g) Now get back and become root and install it system wide $ su - password: # cd /path-to-curl-source-tree/curl-7.16.1 (dont copy paste, it wont work) # make install h) Now tell the OS where to find the libraries # vi /etc/ld.so.conf press 'o' to get into insert mode and append a new blank line /usr/local/lib press :x to save and exit # ldconfig # ctl-d $ look into the doc directory of curl tree, you should see a directory called examples get inside and type make it will respond with done. now if you do an ls -la, you should see both the source files as well as the binaries for some common examples. try the https example and then open up the source and feel free to use the code to achieve whatever it is that you wanted to do in the first place.( dont you just love open source???) dont forget to use the -libcurl switch while compiling your code. You might also want to install the rpms or debs directly from your favorite package manager but my crystal ball cannot tell what distro you're on. so ill leave that as weekend assignment for you. Hope the above helps. Shiv - Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/