ping程序代码
ping程序代码typedefstructiphdr{unsignedinth_len:4;//lengthoftheheaderunsignedintversion:4;//VersionofIPunsignedchartos;//Typeofserviceunsignedshorttotal_len;//totallengthofthepacketunsignedshortident;//uniqueidentifierunsignedshortfrag_and_flags;//flagsunsignedcharttl;un
下载地址
用户评论
大学的时候下载的,现在遇到类似的问题,又复习了下,总是有用的
学习了一下,后来在公司直接调用了一个库函数。 学习一下,总是有帮助的。
代码不错,如果是使用例子就更好了