摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<unistd.h> #include<sys/time.h> #include<arpa/inet.h> #include<netdb.h> #define ICMP_S 阅读全文
posted @ 2020-01-11 18:43 王清河 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: ping命令使用到了网络中的ICMP协议: 关于ICMP介绍看这里:https://www.cnblogs.com/wanghao-boke/p/11670473.html 网络地址信息 地址信息表示: 网络传输时地址信息包括: 地址族(基于IPV4还是IPv6的地址族) IP地址 端口号 使用相关 阅读全文
posted @ 2020-01-11 18:28 王清河 阅读(2701) 评论(0) 推荐(0) 编辑