[erlang-questions] JInterface, RPC, self()
Steven Edwards
cureadvocate@REDACTED
Sat Jan 24 12:44:55 CET 2009
Gotcha. Is there a BIF that translates the tuple into the pid?
Steven
On Fri, Jan 23, 2009 at 9:31 PM, Robert Virding <rvirding@REDACTED> wrote:
> 2009/1/23 Steven Edwards <cureadvocate@REDACTED>
>
>> `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@REDACTED} as
>> the initial Pid and JInterface responds with a differently named process
>> id. (Same process, but Erlang's representation.)
>
>
> The simple answer is that {mbox,simpleserver@REDACTED} 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.
>
> Robert
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090124/ea79f8a7/attachment.htm>
More information about the erlang-questions
mailing list