44.6k views
14 votes
The stub: transmits the message to the server where the server side stub receives the message and invokes procedure on the server side. locates the connection on the computer. packs the parameters into a form transmittable over the hardware. locates the port on the computer.

User Isar
by
4.4k points

1 Answer

10 votes

Answer:

It does all of these

Step-by-step explanation:

The stub is able to do all of what we have in this question. It can locate computer connections, locate ports on a computer, transit message to server etc.

in distributed computing, a stub is a piece of code that does the work of converting parameters that are passed between the client and the server at a time of remote procedure call.

The main objective of an RPC is to allow the client to call procedures remotely on another server.

User Ruifeng
by
4.3k points