collecting parts of a string over network

schimanski

Well-Known Member
Licensed User
Longtime User
Hello!

I want to read a string over a network connection and after that, i want to analyse this string. The string is every time 20 char long and always starts and ends with a crlf (chr 13). Char 2-19 contains an information in each case.
I know, that over a netwok connection only arrives small parts of the string, so that I have to write a sub, which collects and analyse these parts, like the GPS.dll it does with parts of NMEA-protocolls.

Now my question: Are there some rules for this procedure? I heart somewhere, that it is not advisable to analyse the parts of the string. It's more useful to analyse after collecting a whole string from start to end-char. And what is the best proceed, to save time with calculate?

thanks for answer....
 
Top