can some one give me a tutorial addres or code to connect to a web page and retrive the information
like http://www.somedomain.com/index.html
to get index.html
can some one give me a tutorial addres or code to connect to a web page and retrive the information
like http://www.somedomain.com/index.html
to get index.html
C++ Makes you Feel Better
"Gravity connot be held reponsible for people falling in love"--Albert Einstein
Its going to depend on your OS and compiler. If you're on Windows, lookup Winsock.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
One solution is Winsock and HTTP command including /GET.
Kuphryn
normaly i am using linux currently windows is there a standar way to do this in both platforms
How about socket.h - or just lookup how to create a TCP/IP connection is all you really need. There are 3rd party API's out there to use just for that.
You might also need an XML parser to properly parse the HTML file.
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."
I believe HTTP is platform independent. For Linux, you will use similar socket too tools as to Windows' Winsock. The concept is the same. For example, the I/O model is platform independent.
Kuphryn