o0TT0o 发表于 2014-5-19 16:14:14

:sweat: IP参数为什么会自动变成0.0.0.1 ??

/*======================================*/
ping 192.168.1.1
Pinging 0.0.0.1 ....

Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 0.0.0.1
    Packets: Sent = 4,Received = 0, Lost = 4 (100% loss)
/*===================================*/

o0TT0o 发表于 2014-5-19 16:17:22

fprintf(stdout, "\nPinging %s ....\n\n", dest_ip);Pinging 127.0.0.1 with 32 bytes of data:
:dizzy:明显代码和运行结果不同

jmsrwt 发表于 2014-5-22 19:09:05

谢谢楼主啊

Xtyle 发表于 2014-5-22 21:55:04

精华必须顶!!
页: 1 [2]
查看完整版本: 微软ping程序源代码完整版(附详细的注释)