PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HTTPSimulateNetwork (Function)
In French: HTTPSimuleRéseau
Simulates a slow network by limiting the download and upload speed.
Note: This simulation is taken into account by the HTTPRequest type only and when using HTTPSend and HTTPSendForm.
Versions 22 and later
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 22
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Example
HTTPSimulateNetwork(1024, 1024)
res is httpResponse = HTTPSend("http://www.windev.com")
HTTPSimulateNetwork()
Syntax
HTTPSimulateNetwork([<Maximum Download Speed> [, <Maximum Upload Speed>]])
<Maximum Download Speed>: Optional integer
  • Maximum speed to simulate for receiving data, expressed in kilo-bytes per second. This speed is given for information only.
  • 0 (default value) means that this speed is not limited.
<Maximum Upload Speed>: Optional integer
  • Maximum speed to simulate for sending data, expressed in kilo-bytes per second. This speed is given for information only.
  • 0 (default value) means that this speed is not limited.
Remarks
AndroidAndroid Widget

Limits

This function is available for the devices equipped with ARM processors. A fatal error occurs if this function is used with devices not equipped with ARM processors (x86, mips, ...).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Android wd230android.jar
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment