NAME

GRPC_HANDLE_ATTR_SET_HOSTNAME_NP - Sets hostname to handle attributes.

SYNOPSIS

INTEGER FUNCTION GRPC_HANDLE_ATTR_SET_HOSTNAME_NP(ATTR, SERV_NAME)

ARGUMENTS

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

DESCRIPTION

The GRPC_HANDLE_ATTR_SET_HOSTNAME_NP() function sets hostname to 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$