PreviousNext

Protocol Sequence Vector

The protocol sequence vector data structure contains a list of protocol sequences over which the RPC runtime can send or receive remote procedure calls. The protocol sequence vector contains a count member (count), followed by an array of pointers to protocol sequence strings (protseq).

The C language representation of a protocol sequence vector is as follows:

typedef struct {
unsigned32 count;
unsigned_char_t *protseq[1];
} rpc_protseq_vector_t;

The protocol sequence vector is a read-only vector. To obtain a protocol sequence vector, a server application calls the rpc_network_inq_protseqs( ) routine. The RPC runtime allocates memory for the protocol sequence vector. The server application calls the rpc_protseq_vector_free( ) routine to free the protocol sequence vector.