25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 11-3 shows the conceptual model of RPC.<br />

Figure 11-3 Remote Procedure Call (RPC) conceptual model<br />

Figure 11-3 represents only one possible model. In this figure, the caller's<br />

execution blocks until a reply message is received. Other models are possible;<br />

for example, the caller can continue processing while waiting for a reply, or the<br />

server can dispatch a separate task for each incoming call so that it remains free<br />

to receive other messages.<br />

Note: The client <strong>and</strong> server stub seen in Figure 11-3 are created by the<br />

RPCGEN comm<strong>and</strong>, discussed later in this chapter.<br />

The Remote Procedure Calls differ from local procedure calls in the following<br />

ways:<br />

► The use of global variables is not possible because the server has no access<br />

to the caller program's address space.<br />

► Performance might be affected by the transmission times.<br />

416 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!