Erl_publish error with partial package

I'm having a weird problem finding a C-Node server. I am following the example from http://www.erlang.org/doc/tutorial/cnode.html .

I found that I will fail at

if (erl_publish(port) == -1)
erl_err_quit("erl_publish");

      

Running epmd in debug mode showed the following message after crashing:

got partial packet only on file descriptor 4 (0)

      

gdb showed that the application was getting an error in epmd_publish.c when checking for a valid response.

 if (((res=get8(s)) != EI_EPMD_ALIVE2_RESP))

      

Have you seen this before? Is there something configured incorrectly on the system? I'm so confused.

+3
erlang erl


source to share


No one has answered this question yet

Check out similar questions:

15
Converting the Erlang-C Port Example to Erlang Golang
2
Erlang node connection problem
1
Passing -eval for Erlang erl from bash variable fails
1
I cannot access the nitrogen / inets server from any machine, but localhost
1
Erlang VM -s argument throws my program error
1
Internal modules of Erlang external processing module
1
Erlang-C port does not work on some Unix machines
0
ejabberd: send package from Erlang to Python
0
How to implement local ICMPv6 neighbor discovery?
0
"Failed to receive TCP: emfile" in Ejabberd



All Articles
Loading...
X
Show
Funny
Dev
Pics