ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello All,
I am not sure whether I can post this problem in this thread. Sorry if I am in wrong thread. Please redirect me to the correct thread.
My problem is, I have a server running Apache which contains a perl program to display xml file. I want to get this file using a c-program. Instead of using any text browser like lynx,elinks and so on, I want to know is there any library available for c to send a http request to that apache server and get the xml file.
Thanks in advance.
Thanks. Im currently looking into "wget" source code only. It supports more protocols....Im looking for another text browser which supports only HTTP. I dont want to use system command. Rather some API which does that...
Thanks.
There also another way to do this, but it's not simple as using libcurl.
It's socket programming, i dont know whether you want to to that or not.
The good reference is book of "Unix Network Programming", I think you can find example around there most easily.
Thanks for your idea. But I very much aware of this. I want a ready made library. This is just a part of by system. I have much more other than this libcurl. Thanks anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.