[erlang-questions] Troubleshooting ei_xreceive_msg
Joel Reymont
joelr1@REDACTED
Tue Oct 9 18:15:11 CEST 2007
I can connect to my Erlang node like this:
ei_x_new_with_version(&x_in);
ei_x_new_with_version(&x_out);
if (ei_connect_init(&ec, "foo", "secretcookie", n++) < 0)
{
NSLog(@"ERROR when initializing: %d", erl_errno);
exit(-1);
}
but then each call to ei_xreceive_msg results in ERL_ERROR and
erl_errno is set to 5.
I think that's EIO but I can't figure out the meaning of the error in
the context of receiving the message.
Any suggestions?
Thanks, Joel
--
http://wagerlabs.com
More information about the erlang-questions
mailing list