Products Downloads


French version


 

 

This function is used to retrieve, set out as a string, the IP address of the client which has sent the http request.

 

Context

  • Adelia Web client

 

Parameters

ALPHA (n)

IPAddress

Result IP address. If the character string is to short, the result is truncated.

Note: A v4IP address has a maximum length of 15 characters. A v6IP address has a maximum length of  45 characters.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was completed successfully.

*FALSE  if it was not.

 

Example

BOOL

ReturnCode

ALPHA(15)

IPAddress

 

CALL_DLL 'VATOOLBX' 'VaToolBxAwsGetRemoteAddr' IPAddress ReturnCode

 

=> output

ReturnCode

*TRUE

IPAddress

'194.3.106.221'

 

List of the VaToolBx functions by topic

 

 

↑ Top of page


  • Aucune étiquette