ERL_NO_PORT

Joel Reymont <>
Sat Aug 19 18:19:49 CEST 2006


Folks,

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  -setcookie foobarbaz

I then connect like this

     erl_init(NULL, 0);
     erl_connect_init(1, "foobarbaz", 0);

     int fd = erl_connect("");

Any clues?

	Thanks, Joel

--
http://wagerlabs.com/








More information about the erlang-questions mailing list