4 Protocol Examples

For most methods, the Server Service Remote Protocol is a simple request-response protocol. For every method that the server receives, except the NetrShareDelStart method and the NetrShareDelCommit method, the server executes the method and returns a completion. The client simply returns the completion status to the caller.

For example, the client calls the NetrShareAdd method, and the server executes the method and returns NERR_Success, as shown in the following figure.

A simple request-response example

Figure 1: A simple request-response example

Show: