Possible bug (?) xsockets.net console server

545 views Asked by At

I'm trying to start development on xsockets.net service. My server doesn't want to recognize any of CustomController implementation for a Console Application (server). Everything works fine in Web project. I've noticed that XSocketPlugins property contains a list of plugins. My plugin is not on a list for console App and is registered for Web. The source code is simple like in ReadMe.txt

    using (var container = XSockets.Plugin.Framework.Composable.GetExport<IXSocketServerContainer>())
    {             
      container.StartServers();
      container.OnServerClientConnection+=container_OnServerClientConnection
      Console.ReadLine();<br/>
    }

    Defining new controller

    public class CustomController1 : XSocketController
    {
      public void OnMessage(...) 
        { 
          //do stuff
        }
    }

I'm able to connect to Generic controller using C# client and JS client. Any ideas?

Env: Windows7 64-bit, VS2012, .NET 4.0

1

There are 1 answers

4
Uffe On

Yes, the bug is described here: known-issues and the work around is also described.

Regarding the comment, please post the code you use to connect with the Client API and maybe I can see something in there. There should not be any problems connecting from the clients API.