Not directly no. Doing whereis/1 or registered/0 will only work with registered names on the same node. An quick solution is to do an rpc to other node and do whereis/1 there and send back the pid. If you intend to use globally registered names more extensively then I would recommend the module 'group'.<br>
<br>Robert<br><br><div class="gmail_quote">2009/1/24 Steven Edwards <span dir="ltr"><<a href="mailto:cureadvocate@gmail.com">cureadvocate@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Gotcha. Is there a BIF that translates the tuple into the pid?<br><br>Steven<br><br><div class="gmail_quote">On Fri, Jan 23, 2009 at 9:31 PM, Robert Virding <span dir="ltr"><<a href="mailto:rvirding@gmail.com" target="_blank">rvirding@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote">2009/1/23 Steven Edwards <span dir="ltr"><<a href="mailto:cureadvocate@gmail.com" target="_blank">cureadvocate@gmail.com</a>></span><div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
`I still heart Erlang, but we're having some trouble communicating. I'm trying to get RPCs to work correctly, but receive {Pid, Result} fails. I'm pretty sure that it fails because I use {mbox, simpleserver@andLinux} as the initial Pid and JInterface responds with a differently named process id. (Same process, but Erlang's representation.)</blockquote>
</div><div><br>The simple answer is that {mbox,simpleserver@andLinux} is not the pid of a process, it is a tuple which us interpreted as the registered name on another node. So if the actual pid is returned in the message then it can never match this (or any) tuple.<br>
<br>Robert<br><br></div></div>
</blockquote></div><br>
</blockquote></div><br>