I've had the same problem.  It seems that when Distel contacts epmd,
the port it gets back is out by 65536.  I had a go at fixing it.  My
change was:<br><br>(defun epmd-recv-port-resp (event data)<br>  (ecase event<br>
    ((data)<br>     (assert (= (length arg) 2))<br>         (let ((resp (+ (ash    (elt arg 0) 8)<br>                                        (logand (elt arg 1) 255))))<br>     (fsm-terminate (if (< resp 0) (+ resp 65536) resp))))
<br>    ((closed)<br>     (fsm-fail))))<br><br>This got the correct
port.  Unfortunately this only got me to the next problem and  I've not
had time to revisit it.  I'm using the CEAN version of Distel and
emacs-snapshot-gtk on Ubuntu Feisty.
<br><br>Cheers,<br>Paul.<br><br><div><span class="gmail_quote">On 3/24/07, <b class="gmail_sendername">Arbow</b> <<a href="mailto:avindev@gmail.com">avindev@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anyway, I am using emacs 2.3 (svn), Ubuntu linux 6.06<br><br>Best regards,<br>Arbow<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org
</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://puzza.dyndns.org">
http://puzza.dyndns.org</a>