GETHOSTID
The GETHOSTID call returns the 32-bit internet address for the current host.
Example of GETHOSTID call
SOC_FUNCTION DC CL16'GETHOSTID'
RETCODE DS F
CALL DFHSOKET,(SOC_FUNCTION,RETCODE)Input parameters
- SOC_FUNCTION
- A 16-byte character field containing 'GETHOSTID'. The field is left-justified and padded on the right with blanks.
Output parameters
- RETCODE
- Returns a fullword binary field containing the 32-bit internet address of the host. There is no ERRNO parameter for this call.