Splitting a Byte()

Joined
Mar 13, 2007
Messages
5
Programming Experience
Beginner
Hi,

I'm trying to talk IP to a piece of third party kit and all is working well, it sends me a &H02 command to start the array followed by a byte to tell me how long the command is, followed by the actual command itself.
The trouble comes when the kit replies with lots of commands at once and they all end up in the same byte array. Is there a nicer way to check for multiple commands in an array other than stepping through and checking each byte for a &H02.

Thanks
Simon
 
Back
Top