I believe the length encoded tcp-ip protocol provided by Cloverleaf requires the length to be at the beginning of the message (rightfully so in my opinion).
I suspect you are looking at using a PDL to support this message structure unless you can convince the vendor to place the count at the beginning where I believe it belongs.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.