Skip to content Skip to sidebar Skip to footer

Get Html Content From C Code

I implemented a Java code that can send a request to a remote website and retrieve data from it. But I want the same code in C, but I can't find so much help in the C library. Can

Solution 1:

C does not have any functionality to conveniently get a web site like the standard Java libraries.

You can use libcurl which is a fairly convenient way of doing it or writing everything in sockets yourself in which case I'd say familiarise yourself with C network programming first: Beej's Guide to Network Programming

Post a Comment for "Get Html Content From C Code"