[erlang-questions] connect to node by jinterface

Siddharth Pareek <>
Fri Jan 19 07:52:29 CET 2007


 hi ,
        Can any one lemme know how to connect to the node that is created on any other machine through jniterface and then able to send messages to it . I tried out the following but it is not working : 

OtpSelf self = new OtpSelf("localhost", "abc");
OtpPeer other = new OtpPeer();

conn = self.connect(other);

OtpErlangString otpErlangString = new OtpErlangString("hi");

conn.send(, otpErlangString);

Do I am doing something wrong. 

Thanks and Regards,
Siddharth Pareek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070119/8add83af/attachment.html>


More information about the erlang-questions mailing list