loop through all the lines in your box, and sockwrite them one at a time.