<html><div style='background-color:'><DIV class=RTE>hi,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>i am trying to build interface between erlang node and c in windows environment....</DIV>
<DIV class=RTE>i have successfully established connection between erlang and c node....</DIV>
<DIV class=RTE>i mean i get no error on the following functions......</DIV>
<DIV class=RTE>*ei_connect_init</DIV>
<DIV class=RTE>*ei_connect_xinit</DIV>
<DIV class=RTE>*ei_connect</DIV>
<DIV class=RTE>In erlang i have a function registered as test which receives a message and displays it...</DIV>
<DIV class=RTE>after these function are successful..i am trying to send a message as follows...</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> ei_x_new_with_version(&buff);<BR> ei_x_encode_atom(&buff, "ok");<BR> Sendresult=ei_reg_send(&ec,sockfd,"test",buff.buff,buff.index);</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>here where i got the error...</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>i came to know that the socket has been closed for the communication....</DIV>
<DIV class=RTE>i tried to debug....in the file "send_reg.c" i am able to send the first message to erlang when i try to send the second message to erlang there results the failure but i could not find any message in erlang side....</DIV>
<DIV class=RTE>What could be the reason ...i did not change any of the header files...any thing prior to this is needed????</DIV>
<DIV class=RTE>Please help me....</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Thanks...</DIV>
<DIV class=RTE>Maruthavanan</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2728??PS=47575" target="_top">Find just what you're after with the new, more precise MSN Search - try it now!</a> </html>