Connecting the Client and the Server
To communicate, client and server programs must establish a communication session across the network or networks that connect them. Once they establish the connection, the client can call remote procedures in the server program as if they were local to the client program.
This section provides a conceptual overview of how to establish a connection between clients and servers for remote procedure calls. It does not provide an in-depth discussion of this topic. All of the concepts in this section are presented in detail in later chapters and in the RPC Function Reference section.
The discussion presented in this section is divided into the following topics:
- Essential RPC Binding Terminology
- How the Server Prepares for a Connection
- How the Client Establishes a Connection
Note that the discussion assumes explicit binding handles. However, if your application uses other types of binding handles, you may have to modify the steps presented in this section. For more information, see Binding and Handles.