01-19-2005 03:04 PM
This is not a requirement of the language, it has nothing to do with what language you use. It is part of the protocol YOU decided to use. It is YOUR convention to do that (though it is a common convention). If you know that the cluster will always be 897 bytes long, then it's fine to just send the 897 bytes, without doing the two-step. But it's more flexible to announce what's coming before you send it - that way, if an array is changing size from one transmission to the next, it's accounted for.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-19-2005 03:09 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-21-2005 10:32 PM
01-22-2005 09:19 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks