Hi, I want to know if there are a difference between the two codes bellow:

MyString = 100 bytes

1.
For a:=0 to 80 do
socket.SendStr(MyString);


2.
For a:=0  to 80 do
aux:=aux+MyStr;
socket.SendStr(aux);


The first one, sends about 8000 bytes using 80 sendstr commands
The second send about 8000 bytes using only one command.

There are difference or in the first one will send all together too?

Thanks.

________________________________________________
This mail was sent
by Webmail 2.5

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to