I use MNL_sendto() to send the ack, but I noticed TestRecv use sendto() to send the reply. Is there is reason that TestRecv use sendto() and not MNL_sendto()?<br><br><div class="gmail_quote">On Dec 8, 2007 8:36 PM, Haley Nguyen <
<a href="mailto:haley.ng@gmail.com">haley.ng@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have a receiver and a sender running. The sender send a packet to the receiver, and the receiver sends an Ack back.
<br><br>My program runs ok with UDP sendto(), but after I change it to use MNL_sendto(), only the receiver receive the packet from sender, but the sender doesn't get the ack. In the MNLDaemon, it shows that the ack was transmitted just like the data, but the receiver hung waiting for the ack. I don't know what I do wrong.
<br clear="all"><br>-- <br><font color="#888888">Haley Nguyen
</font></blockquote></div><br><br clear="all"><br>-- <br>Haley Nguyen