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

I have created a wcf service. I want the service to broadcast data to all clients using this wcf service. I have used callback, but that is a different concept. I want this wcf service to broadcast data-packets at a regular interval of time let say at every 1 second.
Thanks in Advance.
Posted

1 solution

The following can be easily achieved by using websockets.
Example from the microsoft
 
Share this answer
 
Comments
sudeep kushwaha 16-Apr-13 1:58am    
I am using .Net4.0 framework, so error while using async and await.
Thanks in advance.
sudeep kushwaha 23-Oct-13 4:10am    
I have a datasource which continuously sends asynchrously. I want to broadcast this data to all clients, but i am not getting how to do that. I do not want to use loops to send them one by one. Can it be possible using WCF service? any other substitute, Please help? Thanks in Advance.
Lebohang Danster 29-Apr-13 9:32am    
If you haven't found a solution you could make use of remoting in wcf. follow the following article to get an idea of what you need to do
http://msdn.microsoft.com/en-us/library/aa730857(v=vs.80).aspx

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