9.14. Common Questions

This chapter only scratches the surface of RPCs—one could easily write an entire book on the subject. The RPC help file that comes with the SDK is useful as a reference, as are the MIDL and Win32 API on-line help files. Here are some questions commonly asked about RPCs, along with answers that will help you to find the material you need in the available documentation.

Q1:Can an RPC server handle more than one RPC client at a time?
A1: Yes. An RPC server can accept multiple function calls from multiple clients simultaneously. The number of concurrent clients that an RPC server can accept is controlled by the RpcServerUseAllProtseqsIf and RpcServerListen functions.
Q2:Can an RPC server contain global variables?
A2: Yes. Declare ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.