Sat Aug 19 18:23:36 CEST 2006
Apparently, I need to sleep for a second or two after launching the
node. This gives it time to startup.
On Aug 19, 2006, at 5:19 PM, Joel Reymont wrote:
> I'm trying to launch a node from a C program and connect to it
> using erl_connect which is returning -3. My understanding is that
> this is ERL_NO_PORT. I do have epmd running.
> I launch erl -noinput -sname foo@REDACTED -setcookie foobarbaz
> I then connect like this
> erl_init(NULL, 0);
> erl_connect_init(1, "foobarbaz", 0);
> int fd = erl_connect("foo@REDACTED");
More information about the erlang-questions