I think that means it's calling exec () on each line individually. The interpreter doesn't realize that print () is part of that loop. Try not sending EOT on the for loop line. If that works, you're ...
I'm having some wierd issues with sockets.<BR><BR>I open the socket and stuff, and then write my string:<BR><pre>write(mySocket, myString, strlen(myString));</pre><BR ...