How to write a simple C program in Linux to download a web page?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I think the easiest way would be using the curl-library, which offers functions to do HTML quite easily.
Otherwise you'll probably have to work with sockets and then implement HTML yourself, which of course requires some extra work and can be avoided by using the aforementioned curl.