SetThrottle method

[method icon] SetThrottle(DLSpeed, ULSpeed, Latency)

>SetThrottle

SetThrottle

The SetThrottle(DLoadSpeed, ULoadSpeed, Latency) method restricts the bandwidth used by KClient. This method is designed to be used as a development aid in conjunction with the EmptyClientCache method to simulate the effects of a slow network connection. Upload and download speeds are measured in Kbits/second and latency is measured in milliseconds. This feature should only be used on a fast local network since the algorithm used assumes negligible delays on the underlying link.

REM Start with an empty cache
Client.EmptyClientCache()
REM Simulate a best-case 56Kbit modem
Client.SetThrottle(56, 33, 100)
See also:

BrandSplash, CameraCapture, ClearDirectoryWatchEvent, CreateBookMark, DisplayScreen, EmptyClientCache, EnableUserPreferences, EnableWarnings, FireServiceEvent, ForceDefaultFont, ForceReadableTextMode, FTPGet, FTPPut, GetForms, GetServiceAttribute, GetServiceCookie, GetSpecialFolderPath, HTTPGet, OpenServiceWindow, PlaySoundFile, SetCharacterEncoding, SetDefaultIMEMode, SetDirectoryWatchEvent, SetPrinterFontName, SetPrinterFontSize, SetPrinterPort, SetServiceAttribute, SetServiceCaption, SetServiceConnection, SetServiceCookie, SetServiceUrl, ShowSIP