Share via


xSession::pseudoBandwidth Method

Determines whether bandwidth simulation is turned on for the session, and enables bandwidth simulation to be turned on or off.

Syntax

client server public static int pseudoBandwidth([int bandwidth])

Run On

ClientOrServer

Parameters

  • bandwidth
    Type: int
    Turns bandwidth simulation on or off. Set to zero to turn simulation off. Other values turn simulation on.

Return Value

Type: int
An integer that indicates whether bandwidth simulation is turned on. If the return value is zero, there is no bandwidth simulation.

Remarks

You can run pseudo simulations of remote connections from the System monitoring tool:

  • On the toolbar, select Tools, point to Development tools, point to System monitoring, and then click the Remote connection tab.

See Also

xSession Class

xSession::pseudoLatency Method

xSession::pseudoSimMode Method