<HTML>
<HEAD>
<TITLE>Connection timeout on localhost (using libsdp)</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
I am very hopeful of getting libsdp working with an existing application. Specifically, I am trying to port Erlang to use SDP for it’s “distributed Erlang” mechanism. With LD_PRELOAD, this may be very easy. However, I am having trouble with one of it’s daemon processes (a port map deamon called “epmd”). Conceptually, it’s a very simple C program that runs either as a daemon or as a client that connects to the daemon to do queries. To be sure that I was getting SDP, I changed the source to use AF_INET_SDP by actually looking up that value in the include files (it was 27) and substituting that in place of AF_INET. I started the process as a daemon with debugging on and it reported as normal “listening on port...”. When I tried running it as a client, it attempted to connect to the known port on “localhost” and got a “Connection timeout” as reported by perror(2).<BR>
<BR>
Ideas?<BR>
<BR>
Cheers, Chris<BR>
<BR>
P.S. There are many users of Infiniband that would dearly love to see distributed Erlang running FAST on their systems, so this would potentially help a lot of customers! Thanks for your help.</SPAN></FONT>
</BODY>
</HTML>