CalcOptimumAlpha

Top  Previous  Next

CalcOptimumAlpha is used to force a recalculation of the optimum Alpha value for a given net.

 

CalcOptimumAlpha is a method of the RW_NETMGMT service.

 

This is always done internally when the server starts, but after you have made calls to eiter SetLinkSpeed or SetLinkTime it is also needed if speed has been increased.

 

The calculated value will automatically be used for subsequent route calculations using that net, until the optimum Alpha is recalculated next time.

 

The function takes 1 argument, namely the network ID (1..n).

 

The output is the calculated optimum Alpha value, which is mostly provided for your information.