Home > Back-end >  For post: about Android transceiver ICMP packet
For post: about Android transceiver ICMP packet

Time:09-21

I want to do is to use the Android Studio to make a similar tracert command function of APP, met two problems, don't know how to solve, hope to get everybody's Suggestions and advice,
1. Don't know should use what means to transmit packets such as baidu website url
2. Don't know what to through what way or call function regulation to send the survival time of field (TTL)
3. How to accept from the IP address of the unknown in advance to send ICMP timeout message
I am novice, is not enough in-depth understanding of Java, are looking forward to your reply urgently, thanks!

CodePudding user response:

Find some open source projects research

https://github.com/kirillF/icmp-android
https://github.com/impalex/knockonports
https://github.com/summer2186/android_ndk_icmp_ping
https://github.com/alexeysirenko/android-sockets-icmp-ping-test
  • Related