SetPacketDelay
SetPacketDelay

Changes the packet delay when communicating over the network.

bSuccess = myNetwork.SetPacketDelay( Delay )

Return value
TRUE if the delay was changed, otherwise FALSE.

Parameters
  • Delay
    The new packet delay to use (in milliseconds)
Comments

Packet delay is the amount of time which must elapse between sending packets of information over the network. It can be used to prevent lagging, but may also make the game jerky. Low values will cause lag even when communicating between applications on the same computer.
The default delay is 100 milliseconds (0.1 seconds)

See also
Network:GetPacketDelay



JAM © 2005 no one in partiular
Project started by David Evans in 2005