Export (0) Print
Expand All

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.

dcc92e7e-e7ae-4fe5-865c-ac8140163d16

Figure 1: A simple request-response example

 
Show:
© 2015 Microsoft