Hi,
My customer use the DM648 and NDK1.93 like below:
1. DSP wait for connect to port 8601 with TCP/IP
2.Communication partner connect to DSP's port 8601. (connect )
3.Connection is established
4.From the the communication partner to DSP, the port number(8602) is send.
5. DSP connect to Communication partner's port 8602
Like above, there is not any problems.
However, a problem occurs when reconnecting after disconnect the LAN cable.
At the 5, when DSP connect to Communication partner's port 8602, TCP-IP are stopped.
It seems that stop in the connect() after the socket creation.
I tried to monitor the communication, it seems that at reconnecting, the ARP command was not send from the communication partner.
My Question is that:
1.In NDK1.93, is there any kown issues about the arp command?
2.When the socket closed, the ARP table of DSP will be clean?
If yes, as a specification of NDK1.93, the communication partner's ARP table should be clean?
3.Can this problem at above be resolved in the last NDK?
4.I tried to debug this with emulator, and the program stopped at this:
tcpin.c line 299
tcpin.c line 106
tcpin.c line 335
However, I can not find tcpin.c and tcpprot.c.
Where can I find the tcpin.c and tcpprot.c?
Thanks!