Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I have developed tcp server and client for Trader to view live rates of Indian market. (somewhat like http://www.interactivebrokers.com/en/p.php?f=tws)

My application sends Live tick data of each and every stocks to client but some of user want to get data of specific 4-5 stocks but i don't want to create something new for it.

Is it possible to publish only requested stock rates to specific client like we do in webservices we get what we ask for.

Please help.

Shailendra Kumar
[phone number removed]
Updated 11-Jan-12 1:42am
v2

1 solution

You probably are looking at something similar to OPC (http://www.opcfoundation.org/[^]). In OPC, the server would have a list of all items and the clients can subscribe to what ever item they want. The client would get the updates only for the subscribed items. You should be able to implement something similar to this for your server/client.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900