S
Skeeve
Hi,
I am doing the following:
While i <> 0
i = NWStream.Read(bytesToRead, n, 1)'bytesToRead is a ByteArray
n += 1
End While
For an incoming stream of 17K, this takes anywhere from 5 to 30
seconds (different every time I try even though the same stream is
received).
It only seems to happen on Win2K3.
The strange thing is that the same code is used for other transactions
where the size is about 5K and the performance is just fine.
The stream received is an XML document which shouldn't be important in
this case as it is the "Byte per Byte" reading of the stream that's
slow.
Any idea how I could increase the speed here?
Thank you,
Torsten
I am doing the following:
While i <> 0
i = NWStream.Read(bytesToRead, n, 1)'bytesToRead is a ByteArray
n += 1
End While
For an incoming stream of 17K, this takes anywhere from 5 to 30
seconds (different every time I try even though the same stream is
received).
It only seems to happen on Win2K3.
The strange thing is that the same code is used for other transactions
where the size is about 5K and the performance is just fine.
The stream received is an XML document which shouldn't be important in
this case as it is the "Byte per Byte" reading of the stream that's
slow.
Any idea how I could increase the speed here?
Thank you,
Torsten