This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethernet connect problem about ping use NDK

I can use the NDK to develop the ehternet connect,including UDP and TCP.But sometimes when I change some sentences ,it pings failed.And I chang something then ,it can ping again.  

And also ,sometimes it can ping success,and If I cut the power,and power the chip again,it ping failed.

So I want to ask ,Why the ethernet is not stable?How can I solve it?