jdstocks03
-Interested User-
Posts: 6
Joined: Aug 17, 2004
|
Posted: Feb 3, 2010 09:55 PM
Msg. 1 of 2
I'm confused about how to receive streaming news via TCP/IP.
My app currently processes streaming Level I data received over port 5009. If I want streaming news as well, do I simply send the S,NEWSON command over the same port, or do I need a second winsock object for port 60018. Per the S,IP message I receive, the news server uses port 60018.
My platform is Microsoft Access, and I have a Market Scan form with an ActiveX winsock control on it. I use that control to receive streaming Level I data over port 5009. As messages are received, I pump them through my VBA message processor. My goal is to get streaming news coming in as well, and pump that through the same message processor. Obviously if I get a "N" message, I'd handle it differently than the "Q" messages I currently process. Can I do this?
Any help would be greatly appreciated. Thanks. John. Edited by jdstocks03 on Feb 3, 2010 at 09:56 PM Edited by jdstocks03 on Feb 3, 2010 at 09:56 PM
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Feb 4, 2010 07:53 AM
Msg. 2 of 2
You do not need a connection to 60018 but you will need a connection to 9100.
When you turn on news via the S,NEWSON command, you will start receiving news headlines in the streaming feed. Each news headline contains a id that you can then use to request the full story from the lookup port (9100).
|