[erlang-questions] about C Node get global register name
Steve Vinoski
vinoski@REDACTED
Fri Jul 23 07:20:38 CEST 2010
On Thu, Jul 22, 2010 at 11:53 PM, Yu-Teh Shen <shenyute@REDACTED> wrote:
> i try to use C node to connect to an erlang node, and get the global
> register names.
>
> but i can not get the name, could anyone tell me why?
The erl_global_names() function expects registered names to be atoms,
not strings. Try registering your globals using atoms for names and
your cnode code will work as expected.
--steve
More information about the erlang-questions
mailing list