开发者

.NET: Send a text message to all instances of the same application and read it

I need abil开发者_开发问答ity to reliably sync some chunks of textual data between all running instances of my application. What's the best way to make it?


Generally speaking you need the Observer Pattern. You need something to act as a server. After that it depends whether if a change happened at some application should notify the observer or the observer should request change summary from every client (at some intervals), merge it and return it to the clients. It is too complex to answer with such minimum information you provided.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜