RadInit Function

Action

Initializes Java Framework and the Radius classes.

Include file

radius.bdh

Syntax

RadInit( in sServer   : string,
         in nAuthPort : number,
         in nAcctPort : number,
         in sSecret   : string,
         in nTimeout  : number optional): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
sServerl Name or IP address of the RADIUS server
nAuthPort UDP port where RADIUS authentication service is listening
nAcctPort UDP port where RADIUS accounting service is listening
sSecret Secret is used to access RADIUS service
nTimeout Optional timeout value in milliseconds after communication is canceled

Example

dcltrans
  transaction TInit
  begin
    RadInit("radserver", 1812, 1813, "secret");
  end TInit;