Gets the replacement name for the predefined host name standardhost.
WebAPI.bdh
WebGetStandardHost( out sHost : string, in nMaxLen : number optional, out nPort : number optional): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sHost | String buffer receiving the current name of the standardhost. |
nMaxLen | The maximum length of the receive buffer sHost (optional). |
nPort | Variable receiving the current port number of the standardhost (optional). |
dcltrans transaction TInit var sHost : string; nPort : number; begin WebGetStandardHost(sHost, STRING_COMPLETE, nPort); write("Standardhost: "); write(sHost); write(":"); write(nPort); writeln; end TInit;