Parameter values returned to the application

CLIENT
A client-ID structure that describes the application that issued the call.
DOMAIN
This is a fullword binary number specifying the domain of the client. On input this is an optional parameter for AF_INET, and required parameter for AF_INET6 to specify the domain of the client. For TCP/IP the value is a decimal 2, indicating AF_INET, or a decimal 19, indicating AF_INET6. On output, this is the returned domain of the client.
NAME
An 8-byte character field set to the caller’s address space name.
TASK
An 8-byte field set to the task identifier of the caller.
RESERVED
Specifies 20-byte character reserved field. This field is required, but not used.
ERRNO
A fullword binary field. If RETCODE is negative, the field contains an error number. See Socket call error return codes for information about ERRNO return codes.
RETCODE
A fullword binary field that returns one of the following values:
Value
Description
0
Successful call.
-1
Check ERRNO for an error code.