1、第 1 页 共 19 页 编程实现编程实现基于基于 ICMP 的的 PING 学生姓名:学生姓名: 指导老师:指导老师: 摘摘 要要 本次课程设计主要是基于 Linux系统, 使用编程语言 C 语言, 编写一个实验程 序,实现基于 ICMP 报文的 PING 的类似功能。本文主要介绍了 ICMP 报文,PING 功 能的相关原理,根据设计要求,用 C 语言编程运行、仿真,通过观察实验结果,从而 判定本次设计成功完成任务。通过这次计算机网络方面的课程设计,提高了我们对网络 领域的认识,有利于培养我们在该方面的设计能力。一人一题特别有利于锻炼我们独立 分析问题和解决问题的能力。 设计过程的复杂加老
2、师的严格要求有益于培养我们严谨的 工作作风。 关键词 Linux;C 语言;ICMP;PING 第 2 页 共 19 页 Programming PING capabilities based on ICMP protocol Student Name:Li minghong Instructor:Long jizheng Abstract The curriculum design is mainly based on the Linux system, use the programming language C language, write a test program, packet
3、-based ICMP PING similar function. This paper describes the ICMP message, PING function of relevant principles, according to design requirements, the C programming language to run the simulation, by observing the results, which determine the success of this design task. Through this computer network
4、 design aspects of the curriculum, improve our knowledge in the field of networking, helping to train us in that aspect of the design capacity. One person, one problem is particularly conducive to exercise our independent analysis of issues and problem-solving ability. The complexity of the design process increases the stringent requirements of teacher training benefit our strict style of work Keywords Linux;C language;ICMP;PING 第 3 页 共 19 页 1 引引 言言 当现代社会逐渐变为具有高度的相互依赖的巨大网络时, 我们所生活的世界无法不 变成一个被计