Am I going down the right path?

Nov 12, 2010 at 7:54 PM

In my application, all clients need to know when another client has signed in to the chat. All clients can subscribe to topic 1 for this type of information. The problem I can't seem to figure out right now is how to determine from one client when another client disconnects. Is this possible? And does my idea seem sound?

 

Thanks so much for your help! I'm really hoping this works after my battle with WCF's duplex junk across Silverlight and non-silverlight applications...

Coordinator
Nov 13, 2010 at 3:50 AM

Alex, one way to address this problem is to have one topic per chatroom, and have all participants of a chatroom send periodic keep-alive messages to this topic. Client application must be able to distinguish between these keep alive messages and regular "chat" messages.