why erl_accept() encounter an ERROR
Tue Oct 19 11:58:20 CEST 2004
i am communication between enode and cnode on one system but failed to communicate between two system where dns is also configured and there is no error
but i am unable to communicate, i am using windows n/w
can you tell me what else i have to do to communicate between c node and e node for this example
and can you tell me how to set environment var EI_TRACELEVEL
UAB L/K Peter Andersson <peppe@REDACTED> wrote:
Are you using the same Erlang/OTP version on all systems?
What you can do to find the fault is to switch on debug printouts. You
do this by setting the environment variable EI_TRACELEVEL to 4. Also,
when erl_accept fails, check errno to see if it's been set and, if so,
You should really use the ei_* rather than the erl_* functions. Read the
manual pages for ei and ei_connect. You might find ei_accept_tmo() to be
useful if your problem turns out to be of "temporary nature".
suresh saragadam wrote:
> I am using erl_interface for connection Erlang and C
> connection established and working fine with one system and when i am
> working with the same program on other system 'elr_accept' ERROR is
> if ((fd = erl_accept(listen, &conn)) == ERL_ERROR)
> /* printf("Error %d %d", ERL_ERROR, fd); */
> please let me know what may the reason
> And one big doubt can we use erl_interface with out using this fn in
> the example given in reference manual for connection c node
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions