The DCE RPC character and code sets compatibility evaluation routines set the method and the code set tag values into a data structure in the binding handle returned to the client. These routines always set the sending tag and desired receiving tag to the same code set value.
In addition, if the application uses the DCE RPC routine rpc_cs_get_tags( ) to set the code set tags for the stubs, the value of the server's receiving tag will always be the value of what the client sent to it in the desired receiving tag. If RMIR is used, the desired receiving tag is the server's current code set.
RPC application programmers that do not want to use the DCE RPC-provided evaluation routines can use the rpc_cs_binding_set_tags( ) routine to set the code set tag values into a binding handle.