Sketch ramdomly halts/freezes...

technochris1:
If i should avoid using Strings, whats the best way to parse incoming data from the UDP library? Char[]?

Yes. Make a static buffer (eg. 100 bytes), read into it, then parse that. Then you are not dynamically allocating memory.

Another alternative is a state machine, but if it fits into a buffer that is simplest. Then you can use strstr, strcmp and stuff like that.