Description: ping is to first establish the principle of access, and then send packets, the other party accepted the return of information, this package includes the following elements, at least, send time, the contents of packets, including each other' s ip address and her address, as well as sequence number, time of return include both addresses, and so still have time, mainly in the recipient are in good operating system kernel, and always listening, providing for some c code, I hope useful for all of us.
To Search:
File list (Check if you may need any files):
ping.cpp