Abstract:Distributed system is formed by a large number of independent computers through the network.A good communication mechanism is very important when cooperation processes access distributed resources through the network.The article discusses the working mechanisms of remote procedure call (RPC) and remote method invocation (RMI),and displays the working mechanisms through a simple example based on the.Net platform and Socket communication protocols.