Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - linux UDP
Search - linux UDP - List
一、实现 Sniffer 的基本功能。 Sniffer 是一种用于监测网络性能、使用情况的工具。  能够指定需要侦听的网卡(考虑一台机器上多张网卡的情况)  能够侦听所有进出本主机的数据包,解析显示数据包( ICMP 、 IP 、 TCP 、 UDP 等)各个字段。比如,对 IP 头而言,需要显示 版本、头长度、服务类型、数据包长度、标识、 DF/MF 标志、段内偏移、生存期、协议类型、源目的 IP 地址、选项内容、数据内容。要求显示数据的实际含义(例如用 ASCII 表示);  能够侦听来源于指定 IP 地址的数据包,能够侦听指定目的 IP 地址的数据包,显示接收到的 TCP 和 UDP 数据包的全部实际内容。需要考虑一个 TCP 或 UDP 包划分为多个 IP 包传输的情况;  能够根据指定的协议类型来过虑包,例如,只侦听 ICMP 包,或只侦听 ICMP 和 UDP 包。  功能验证手段:在运行 Sniffer 的同时,执行标准的 Ping 、 Telnet 和浏览网页等操作,检查 Sniffier 能否返回预期的结果。 Windows 平台上可以用 winpcap 类库;在 linux 平台上可以使用 libpcap 类库。也可以调用 Sockets 等有关的网络类库。 -First, the realization of the basic functions of Sniffer. Sniffer is a network for monitoring performance, the use of tools.  listening to the specified needs of the card (taking on a machine more than the case of card)  listening to all incoming and outgoing packets of the host, analysis shows that packet (ICMP, IP, TCP, UDP, etc.) in various fields. For example, the first of the IP, the need to show the version of the first length, service type, packet length, logo, DF/MF logo, paragraph migration, survival, protocol type, source IP address of the purpose, options, content, data内容. Requirement to demonstrate the actual meaning of data (such as that used ASCII)  listening to the specified IP address from data packet to specify the purpose of listening packet IP addresses, indicating the received TCP and UDP packets all the actual content. Need to consider a TCP or UDP packet is divided into a number of IP packet transmission of the situation 
Date : 2025-12-25 Size : 64kb User : 鲁明

Linux下UDP数据传输的简单聊天系统-Simple chat system under Linux UDP data transmission
Date : 2025-12-25 Size : 402kb User : 小明

linux下udp通信的技术资料,包括server和client端例程-udp socket
Date : 2025-12-25 Size : 215kb User : linzi

linux 下的udp socket server-the example of udp socket server
Date : 2025-12-25 Size : 1kb User : 左传勇

tcp udp编程 基本模型框搭建,适合初学者-tcp udp process for linux internet
Date : 2025-12-25 Size : 19.76mb User : 王鹏
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.