Looking for Comet-Style server or client [closed]

*爱你&永不变心* 提交于 2019-12-06 09:38:12

问题


I'm looking for a good and simple way to notify my clients about some events in a "push"-way, just like the Comet/Long-Polling server do.

The main idea was to set-up a server and create an app with C# which will act as a client.

I've found a good thing, Comet server (currently NGINX with http_push module). But as i've got from other user experience, it's not that good for external apps (C, C++, C#, other), it's just was think to push messages on the web (or I'm wrong there?).

So, I 'm looking for a good way how to notify clients in that way, or may be someone knows good client/library in C# for a Comet-Style client?

Thanks!


回答1:


There is a good article here: http://www.codeproject.com/KB/aspnet/CometAsync.aspx

It implements both client and server in c# (ASP.NET for server)




回答2:


Check out WebSync. It's got client implementations in a bunch of languages, one of which is (naturally) c#.



来源:https://stackoverflow.com/questions/5378383/looking-for-comet-style-server-or-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!