Registering Multiple RPC Server InterfacesLast reviewed: September 29, 1995Article ID: Q129975 |
The information in this article applies to:
When registering multiple server interfaces from multiple threads or from a single thread under the same process, the RpcServerListen() function should be called only once. An application process may register two completely separate Remote Procedure Call (RPC) server interfaces from two separate threads or from a single thread. However, when doing so, the RpcServerListen() function should be called only once from any thread. RPC APIs are called on a per process basis. From the perspective of RPC run times, a process can register multiple interfaces using one or more protocol sequences, but must call the RpcServerListen() function only once from any one thread. Calling the RpcServerListen() function more than once results in the run time generating an exception called RPC_S_ALREADY_LISTENING.
|
Additional reference words: 3.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |