Socket Programming

Hi, I need to read information from the file that is on internet.
For example, if you click the following link, the window will pop up and ask you if you want to save or open the file.
Here is the link: http://finance.yahoo.com/d/quotes.csv?s=XOM+BBDb.TO+JNJ+MSFT&f=snd1l1yr

I could use "wget" in Unix, but I would have to store the file, then open it to read from , then delete. Instead I would like just open the file and read info, then close it.
How should I approach that problem? Any suggestions?

Thanks.
Socket programming is a little complex... you might be happier just using wget. Are you sure you want to take all the time and effort you'll need to do it?

Alternatively, I recommend libcurl (C URL Library):
http://curl.haxx.se/libcurl/competitors.html

Hope this helps.
Topic archived. No new replies allowed.