How to create Group

Aug 27, 2012 at 6:47 AM


In the superwebsocket, how to create group and send the message for the particular group only.

Aug 27, 2012 at 6:49 AM

You can add GroupID property for session and then fetch session by the GroupID.

Aug 27, 2012 at 6:50 AM

You also can maintain your own group session container easily.

Aug 27, 2012 at 7:13 AM

Hi Kerryjiang,


Do you have any sample for that, Create Group with particular name, and connect the particular group and send the message to who all are connected that particular group.


Aug 27, 2012 at 7:14 AM

You can find example code in "Samples" directory of the source code.

Aug 27, 2012 at 10:29 AM

In the sample folder, I find out the custom session project, are you mention this one? But I couldn't find any client side sample for creating websocket in particular group name.

Aug 27, 2012 at 10:34 AM
Edited Aug 27, 2012 at 10:34 AM

It's your own business logic, please design your own sub protocols...

SuperWebSocket only provide basic websocket communication channel.