hi, buddy.<br>I have some questions about the slave:pseudo/1,2 function. <br>the doc says:<br>"A pseudo server is a server with a registered name which does absolutely nothing but pass on all message to the real server which executes at a master node. A pseudo server is an intermediary which only has the same registered name as the real server. "<br>
In my opinion, the pseudo server looks like a proxy, it transfers all the message to the process on the master, the process registered with the same name as the slave.<br><br>but in the slave.erl line 79, the code is :<br>
relay1(Pid) -><br> receive<br> X -><br> Pid ! X<br> end,<br> relay1(Pid).<br> <br>the Pid is returned by rpc:call, so i think the message can't send to the master.<br>the correct way is:<br>
relay1(Name, Master) -><br> receive <br> X -><br> {Name, Master} ! X<br> end,<br> relay1(Name, Master).<br><br>Is it right?<br><br>thanks!<br>