| | |
Reading internet data using a C++ program
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2008
Posts: 14
Reputation:
Solved Threads: 0
hey,
I want to read internet data through a C++ program. I am told that the way to do this is by using a proxy server and spitting out the data through the proxy to a file which then can be read.
How exactly do you setup a proxy server which preforms this task (i.e. all the internet data going through it is sent to a file). Can someone help me out or show me where to look to get the information.
Thanks
I want to read internet data through a C++ program. I am told that the way to do this is by using a proxy server and spitting out the data through the proxy to a file which then can be read.
How exactly do you setup a proxy server which preforms this task (i.e. all the internet data going through it is sent to a file). Can someone help me out or show me where to look to get the information.
Thanks
what do you mean by 'read internet data' ? If it means making an HTTP 'get' request to some URL and getting the data that i think you can try using the 'curl' library http://curl.haxx.se/
Last edited by Agni; Aug 6th, 2008 at 2:02 pm.
thanks
-chandra
-chandra
•
•
Join Date: Feb 2008
Posts: 14
Reputation:
Solved Threads: 0
Hmmm i dont think thats what i mean. I downloaded java program which has live stock prices updated second by second. The prices are updated via the program conncecting to the internet.
What I want to do is capture these prices from the program and store them within my own program. I spoke to someone who said one way of doing this is by routing the internet feed the program uses (not sure if this is the right terminology) through a proxy server and saving the data files sent to the program. If the program receivces the internet data via xml files then it can be possible to capture the prices from the data sent via the internet to the program which displays the data.
What I want to know is how do I set up and use a proxy to intercept the data files sent and then transfer the data to a file so it can be read?
Hope that clears it up
What I want to do is capture these prices from the program and store them within my own program. I spoke to someone who said one way of doing this is by routing the internet feed the program uses (not sure if this is the right terminology) through a proxy server and saving the data files sent to the program. If the program receivces the internet data via xml files then it can be possible to capture the prices from the data sent via the internet to the program which displays the data.
What I want to know is how do I set up and use a proxy to intercept the data files sent and then transfer the data to a file so it can be read?
Hope that clears it up
•
•
•
•
What I want to know is how do I set up and use a proxy to intercept the data files sent and then transfer the data to a file so it can be read?
...Edit:: The following post is maybe what you're looking for (if you're using Windows): http://www.daniweb.com/forums/post784786-3.html
Edit:: This thread might be also useful for you
... Last edited by tux4life; Apr 19th, 2009 at 12:25 pm.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- C-Dilla - Macrovision spyware (Viruses, Spyware and other Nasties)
- Error trapping while reading windows XP registry entries (Python)
- help with reading these logs (Viruses, Spyware and other Nasties)
- WIN98SE protection (Viruses, Spyware and other Nasties)
- Please help by reading my hijack log!! please (Viruses, Spyware and other Nasties)
- UPDATED: DO NOT POST ABOUT BRIDGE.DLL BEFORE READING THIS (Viruses, Spyware and other Nasties)
- Internet Explorer Fails After Registry Removal (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: Three questions
- Next Thread: download internet file before logon using c++
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays assignment beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux loop looping loops map math matrix memory microsoft multidimensional newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






