Save the text to a binary variable using /sockread and then use a loop with $bvar to put 900 chars in a normal variable at a time.