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"); }
private void Socket_DataReceived(WebSocket socket, string frame) { WebController.OnMessageFromSocket(socket, frame); }