public WebSocketServer(WebLauncher launcher, int port)
 {
     this.launcher = launcher;
     this.port = port;
     this.server = null;
     this.clients = new List<Socket>();
     this.encoding = new UTF8Encoding();
     this.prevFrame = new Dictionary<int, TouchPoint>();
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);

            using (WebLauncher app = new WebLauncher())
            {
                app.Run();
            }
        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);

            using (WebLauncher app = new WebLauncher())
            {
                app.Run();
            }
        }
Esempio n. 4
0
 public WebSocketServer(WebLauncher launcher, int port)
 {
     this.launcher  = launcher;
     this.port      = port;
     this.server    = null;
     this.clients   = new List <Socket>();
     this.encoding  = new UTF8Encoding();
     this.prevFrame = new Dictionary <int, TouchPoint>();
 }