static void Main(string[] args) { WebsocketServer websocketServer = new WebsocketServer(); websocketServer.Start("http://localhost:2587/test/"); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); }
static void Main(string[] args) { WebsocketServer websocketServer = new WebsocketServer(); Console.WriteLine("Starting websocket listener at ws://localhost:80/WebsocketHttpListenerDemo"); websocketServer.Start("http://+:80/WebsocketHttpListenerDemo/"); Console.WriteLine("Press any key to exit ..."); Console.ReadKey(); }