I wrote a small app for iPhone that sends int that contains 3 bytes of values 0x00-0xFF to control RGB LED.
My problem is that I use the scale of 0-255 and if I use PSOCK_READTO(&s->p,'\0'); it sometimes not working well
if one of the first values is 0.
How can I overcome this problem ?
Thanks.