Still do as planned. Save to a text file, and reference the size of the file. When it hits N bytes, then parse it..

on 1:SOCKREAD:mysopcket: {
/bread -f &binvar
/bwrite data.txt -1 -1 &binvar

if ($file(data.txt).size == 4126) {
/bread data.txt 0 4196 &data

...parse...

.remove data.txt
}
}


-KingTomato