liwmj / spserver

Automatically exported from code.google.com/p/spserver
Other
0 stars 0 forks source link

重复一下,主动发送问题 #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
前面已经有人提到过主动发送的问题,有人给出了一个连接��
�析,但是现在打不开该连接,希望能贴出来,还希望能给出�
��方的接口,好方便以后的跟进更新。

Original issue reported on code.google.com by Scorfis...@gmail.com on 15 Mar 2011 at 2:15

GoogleCodeExporter commented 8 years ago
晕,今天又可以打开那个连接了,但我对这个回答并不满意��
�还是希望官方能添加接口

 更多选项 2009年10月13日, 下午2时37分
testiocpchat 这里 我怎么主动给所有连接发信息呢? 
比如我是一个通知  要发给所有连接, 怎么发? 没有 response; 

       举报垃圾内容     为此帖评分:  

stephen liu     
查看个人资料  
 更多选项 2009年10月14日, 下午6时57分
用一个间接的方法。 
写一个工具,这个工具连接到 chat server 
上,发送一条特殊的协议指令,这个指令用于广播信息。 
2009/10/13 hylas <rehy...@sina.com>

Original comment by Scorfis...@gmail.com on 15 Mar 2011 at 2:47

GoogleCodeExporter commented 8 years ago
请使用 Dispatcher 这个模型,可以支持主动发送的功能。
在 hahs 和 lf 
两个模型中,用上面提到的方法来支持比较自然。

Original comment by stephen....@gmail.com on 19 Mar 2011 at 3:54