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>(); }
static void Main(string[] args) { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); using (WebLauncher app = new WebLauncher()) { app.Run(); } }
static void Main(string[] args) { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); using (WebLauncher app = new WebLauncher()) { app.Run(); } }
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>(); }