error when sending a stream of UDP message via iphone

Hi guys ,

I am trying to control a servo hooked up to the arduino. I am able to send UDP messages from the iphone or other client to rotate the servo.

The issue is i have Slider UI on the iphone which i can scroll from 0-180. Everything works fine if i move the slider slowly but if i move it fast i get weird numbers on the arduino.

I was observing the serial port of the arduino and saw that if i scroll really fast on the iphone then the number are like 800 , 370 , 700 etc...
I think their is a buffer overflow or something ... Let me know if you guys want to see my Xcode for the iOS.

Please help , Thanks

What range of values are you sending, and how are you encoding them over the network?

Let me know if you guys want to see my Xcode for the iOS.

Yes, and the code on the Arduino.