PreviousNext

Binding Compatibility

The protocol sequence used must be supported by both the RPC runtime and the operating system on the client's machine. However, the RPC runtime implicitly takes care of binding compatibility when it returns bindings to importing clients; only compatible bindings are returned.

The rpc_network_inq_protseqs( ) and rpc_network_is_protseq_valid( ) routines can be used to return all supported protocol sequences and to determine whether a specified protocol is supported, respectively.

To find out what protocol sequence is used in a binding handle, make the following series of calls:

rpc_binding_to_string_binding(binding, &string_binding, &status);

rpc_string_binding_parse(string_binding, NULL, &protseq, NULL, NULL, \
NULL, &status);