[erlang-questions] C Nodes Tutorial "erl_publish" error
by
by@REDACTED
Sat Sep 21 12:22:24 CEST 2019
Hi,
I am going through this tutorial: http://erlang.org/doc/tutorial/cnode.html <http://erlang.org/doc/tutorial/cnode.html>
Compile steps works, but when I try to run the example with below command:
$ ./cserver 3456
I got this:
erl_publish
$ echo $?
1
Does anyone encounter this before?
Based on the documentation, seems this issue comes from:
if (erl_publish(port) == -1)
erl_err_quit("erl_publish");
But what should I do to fix this?
I run this on my Mac computer: macOS Sierra 10.12.6
Erlang version: Erlang/OTP 22.0.1
With kind regards,
Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190921/eee990a4/attachment.htm>
More information about the erlang-questions
mailing list