Example #1
0
        public static void Start()
        {
            webServer = new WebController();
            WebController.NewMessageFromSocket += newMessageFromWebSite;
            webServer.StartAll();

            Udp = new UDPController();
            UDPController.NewUDPmessageFromDevice += UDPController_NewUDPmessageFromDevice;
            Udp.StartListening();


            Puzzles = new List <Puzzle>();

            UDPController.SendBroadcast("SHOWUP");
        }
Example #2
0
 private void Socket_DataReceived(WebSocket socket, string frame)
 {
     WebController.OnMessageFromSocket(socket, frame);
 }