[erlang-questions] net_kernel: start()

Andrew Stone stondage123@REDACTED
Thu Apr 17 18:59:23 CEST 2008


I found the problem. Epmd is started  automatically from the shell when this command is issued but not from a compiled module. Starting epmd before running my code fixes the issue.

-Andrew

----- Original Message ----
From: Andrew Stone <stondage123@REDACTED>
To: erlang questions <erlang-questions@REDACTED>
Sent: Thursday, April 17, 2008 11:24:21 AM
Subject: [erlang-questions] net_kernel: start()

Hi,

Is there any reason that I cannot reliably run net_kernel:start(['somelongname@REDACTED']) from within my code.

It works fine from the erl shell, but not from compiled source. Yet sometimes it does work from compiled code. It's really strange. I posted my code below.

 net_kernel:start(['c1@REDACTED']).

Thanks,
Andrew


_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions






More information about the erlang-questions mailing list