I want to process the data received in a UDP packet line by line. Is there some readline function that I can use, or do I have to process each character until I hit a CR? I do not want to perform any file I/O to accomplish this.

I thought about writing my own "buffer" object, and implement "readline" with the help of the "Instr" VB function.