protected override void OnMessage(MessageEventArgs e) { // Retrieve message from client string msg = e.Data; Send("Echo: " + msg); WSController_standard.um(msg); }
protected override void OnOpen() { WSController_standard.um("Arduino device has connected."); WSController_standard.SendToSession = Send; }
protected override void OnOpen() { WSController_standard.um("Android device has connected. ID: " + this.ID); WSController_standard.SendToSession = Send; }