-
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.
-
a udp payload, maxs out at 5?? characters, i think, looking for CR would be the best way. Go Char. by char. and build a temp string. When you reach CR that is the end of the string and there for the end of the line
-
Wasn't UDP so that it's very possible your packets won't come (receive) on sequence? I mean, I think UDP, when you send some data, the data may not be received in sequence of the sending...
Or is that handled by the Winsock control???