[erlang-questions] net_kernel: start()

Andrew Stone <>
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 <>
To: erlang questions <>
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(['']) 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(['']).

Thanks,
Andrew


_______________________________________________
erlang-questions mailing list

http://www.erlang.org/mailman/listinfo/erlang-questions






More information about the erlang-questions mailing list