win98
i have a client program that produces data (sometimes large amounts) then connects to a host program, then transfers the data.
a value representing the total amount of data is first, the data is always in multiples of 200K bytes so the sending can be easly broken down.
the following is a rough procedure of have the data is sent:
for amount of data/200K do
make socket
transfer data -> ie 200 loops of send(1000 bytes)
close socket
the problem is that the data flow between the sets of the '200 send' loops sometimes pauses for up to 5 seconds before continuing, though i don't know why.
cheers, bigdaz.
i have a client program that produces data (sometimes large amounts) then connects to a host program, then transfers the data.
a value representing the total amount of data is first, the data is always in multiples of 200K bytes so the sending can be easly broken down.
the following is a rough procedure of have the data is sent:
for amount of data/200K do
make socket
transfer data -> ie 200 loops of send(1000 bytes)
close socket
the problem is that the data flow between the sets of the '200 send' loops sometimes pauses for up to 5 seconds before continuing, though i don't know why.
cheers, bigdaz.