I hope the title of my thread was appropriate, I will try to explain my problem a bit more detailed.
What I want to achieve is to scan/read the source of a html which is on a server.
My question is, do I need to open a socket, create connection to the server and then just 'scanf' the file or is there an easier way to do this.
The program is intended to export email addresses from a html file.
Now maybe some of you think "hhmm smells like spam", this is for a company which sells hardware and cellphones over ebay and the internet, for which I work for as an assignment from my school.
I will be happy recieve any replies about code, some libs or hints/tips.