Sets the simulation speed. The simulation uses short wait periods between transfers of small data packets. Packeting emulates the behavior of a modem or ISDN terminal.
WebAPI.bdh
WebSetSpeed(in nSpeed : number, in nFlag : number optional, in bDuplex : boolean optional, in fCompression : float optional): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nSpeed |
Can be a [bit/sec] number or one of the following values:
|
nFlag |
Specifies whether the given speed should be simulated for sending or for receiving data, or for both (optional). This parameter can be any combination of the following values:
By default, the simulation speed is set for both sending and receiving data. |
bDuplex | Specifies whether send and receive operations can perform simultaneously or not (optional). By default, this value is set to false. |
fCompression | Specifies the hardware compression rate of the simulated network device (optional). By default, this value is set to 1.0. |
dcltrans transaction TWebInit begin WebSetSpeed(WEB_SPEED_28); WebDumpSettings(); end TWebInit;
WebMulti01.bdf, WebMultiClientIpAddresses01.bdf