Markus Mueller wrote:

> it buffers sometime within 2-4 MByte before "socket.pause" does help,
> my 
>> 3 Ghz Dualcore
> seems to buffer also hunderts of MByte...

procedure TCustomWSocket.Pause calls winsock API WSAAsyncSelect.
It simply tells winsock to stop posting notification messages.

"Although WSAAsyncSelect immediately disables event message posting
for the socket in this instance, it is possible that messages could
be waiting in the application message queue. Therefore, the application
must be prepared to receive network event messages even after 
cancellation."

That's most likely what you observe, isn't it?

BTW: The THttpCli component supports bandwidth control, search for
"UseBandwidthControl".

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

Reply via email to