working with Epmd

Vlad Dumitrescu vladdu@REDACTED
Thu Nov 29 12:52:37 CET 2001


Hi again,

I am trying to implement an Erlang node in Delphi modeled after JInterface. [Why, do you ask? I think it's fun! :-)] 

I stumbled in communicating with Epmd... I think I do things properly, but I must have missed something... The node registers itself, but Epmd unregisters it right away... Does anyone know why? Does it check for the existence of the node at the published port? (right now I am not sure that part is working properly)

Thanks for the help,
Vlad

epmd debug transcript:

epmd: Thu Nov 29 12:49:58 2001: got 20 bytes
***** 00000000  00 12 78 16 2e 6e 00 00  05 00 05 00 05 58 42 40  |..x..n.......
XB@|
***** 00000010  44 45 00 00                                       |DE..|
epmd: Thu Nov 29 12:49:58 2001: ** got ALIVE2_REQ
epmd: Thu Nov 29 12:49:58 2001: reusing slot with same name 'XB@REDACTED'
epmd: Thu Nov 29 12:49:58 2001: registering 'XB@REDACTED:2', port 5678
epmd: Thu Nov 29 12:49:58 2001: type 110 proto 0 highvsn 5 lowvsn 5
*****     active name     "XB@REDACTED#2" at port 5678, fd = 64
*****     reg calculated count  : 1
*****     old/unused name "AB@REDACTED#3"
*****     unreg counter         : 1
*****     unreg calculated count: 1
epmd: Thu Nov 29 12:49:58 2001: got 4 bytes
***** 00000000  79 00 00 02                                       |y...|
epmd: Thu Nov 29 12:49:58 2001: ** sent ALIVE2_RESP for "XB@REDACTED"
epmd: Thu Nov 29 12:49:58 2001: time in seconds: 1007034598
epmd: Thu Nov 29 12:49:58 2001: unregistering 'XB@REDACTED:2', port 5678
*****     reg calculated count  : 0
*****     old/unused name "AB@REDACTED#3"
*****     old/unused name "XB@REDACTED#2"
*****     unreg counter         : 2
*****     unreg calculated count: 2
epmd: Thu Nov 29 12:49:58 2001: closing connection on file descriptor 64



More information about the erlang-questions mailing list