accessing a website via console

i'm writing a console application and i need it to access a website that is formatted like a plain text file so that i can read the contents just like i were reading a plain text file.

how do i go about reading from a website? what functions do i need to know about?
You can use cURL library to do that ( http://curl.haxx.se/ ) or you could reinvent the wheel and use raw sockets yourself.
Topic archived. No new replies allowed.