How to access AppServer and WebSocketServer

May 25, 2013 at 3:45 AM
Background:
I have created a program which has 2 services defined, one is inherited from AppServer, and the other is inherited from WebSocketServer.
My program runs as a Windows Service.
The reason for using both SuperSocket and SuperWebSocket is because the SuperWebSocket accepts a connection from an Administrator via Web Browser using WebSockets.
The other clients use a TcpClient, and that connects to the SuperSocket.
I have no problem connecting my Administrator to the SuperWebSocket, and my clients to the SuperSocket.

QUESTION:
In my class, inherited from WebSocketServer, I would like to be able to provide a way for the Administrator to view the Sessions of the AppServer, and send instructions to individual clients.

I am just not sure of the proper way to access the AppServer object. I tried making a temp copy of the AppServer, and accessing the sessions that way. But it never really worked properly. I am new to C# and .NET, but have 15+ years of C++/Unix.

Thank you
May 25, 2013 at 2:23 PM
http://docs.supersocket.net/v1-5/Multiple-Server-Instances

Please read the last part of this doc.
May 25, 2013 at 2:36 PM
Thank you. That looks like what I need to know.