PreviousNext

Registering Endpoints

A call to rpc_ep_register( ) registers the server endpoints in the endpoint mapper service of the local dced:

/*

* Register assigned endpoints with endpoint mapper.

*/

rpc_ep_register(

greetif_v1_0_s_ifspec, binding_vector, NULL,

(unsigned_char_p_t) "greet server version 1.0", &status);

ERROR_CHECK(status, "Can't register with endpoint map");