How to send message to client initiative in SuperWebSocketService after the connection is on?

Nov 30, 2011 at 5:20 AM

Hi,all,in SuperWebSocketService sample,when the connection is on,I want to send message to the client initiative, not as JsonCommandAssembly,muse

client send a command to the server and server send response.  Can show me a sample code? thx.

Nov 30, 2011 at 5:30 AM

The documentation of SuperSocket may helpful:

Nov 30, 2011 at 6:02 AM

Thanks for your reply,but how to get the appServer such as in "Program.cs",and how to assagin a key to a session?

Nov 30, 2011 at 6:34 AM

Nov 30, 2011 at 6:34 AM

Key will be assigned automatically when a connection is accepted.