SWebSocket and Private Chat between two people

Nov 12, 2012 at 8:14 AM
Edited Nov 12, 2012 at 8:21 AM

Hi,

First I'm really sorry about my bad English :)

I'm trying to make an app to allow people to chat to their friends using superwebsocket. The problem is I don't know how to send the message to exactly person the user want (In source code, the message will send to all connecting people).

I searched and found that there is some thing like WebSocketSession with token but I didn't find any document about it and how to use

Please help me solving this issue and how about chat thing with many people (at the same time: I chat with John in a window and I chat with Peter in an other window,....)

One more question: What is extPort stand for ? (I saw it in web.config and LiveChat.aspx.cs

Coordinator
Nov 12, 2012 at 8:30 AM

You can get session by it's key and then send message through it's API:

 

http://supersocket.codeplex.com/wikipage?title=Fetch%20required%20sessions%20from%20AppServer