I am confused (as usual) about exactly how to hook up (hopefully) a winsock to receive a data stream coming from a remote website (in order to observe changes in incoming data in my vb6 app).
We have a public transport provider that provides a stream on the web of data representing the info and GPS location of it's buses at any time. This is used by electronic ticketing and vehicle management. They have given me the web address of this "stream" as they call it to see if I can integrate it with some old VB6 apps they use. (Nobody in the organisation understands VB6 anymore - they apparently all have died of old age!
When I simply open a browser on the site I get a small file of about 20k of information that I can save to a file and inspect. This contains all the info from all the trains or buses and is updated every minutes. It is simply bytes that represent various parameters of the bus something like a database converted to text so I can easily decode it.
How can I get this data direct without having to save it as a file so changes automatically happen on my screen?
I have seen lots of examples on how to use the web and to read similar databases but not how bring them together.
We have a public transport provider that provides a stream on the web of data representing the info and GPS location of it's buses at any time. This is used by electronic ticketing and vehicle management. They have given me the web address of this "stream" as they call it to see if I can integrate it with some old VB6 apps they use. (Nobody in the organisation understands VB6 anymore - they apparently all have died of old age!
When I simply open a browser on the site I get a small file of about 20k of information that I can save to a file and inspect. This contains all the info from all the trains or buses and is updated every minutes. It is simply bytes that represent various parameters of the bus something like a database converted to text so I can easily decode it.
How can I get this data direct without having to save it as a file so changes automatically happen on my screen?
I have seen lots of examples on how to use the web and to read similar databases but not how bring them together.