NAME

GRPC_HANDLE_ATTR_GET_HOSTNAME_NP - Gets hostname from handle attributes.

SYNOPSIS

INTEGER FUNCTION GRPC_HANDLE_ATTR_GET_HOSTNAME_NP(ATTR, SERV_NAME)

ARGUMENTS

INTEGER(KIND=8) ATTR
The handle attributes
CHARACTER(*) SERV_NAME
The hostname to be gotten from the handle attributes

DESCRIPTION

The GRPC_HANDLE_ATTR_GET_HOSTNAME_NP() function gets hostname from the handle attributes.

See GRPC_HANDLE_ATTR_INITIALIZE() about details.

This function is MT-safe.

RETURN VALUE

If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.

ERRORS

GRPC_NOT_INITIALIZED
GRPC client is not initialized yet.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$