本文深入研究了IPv4 协议、TCP/IP协议组中的TCP,IP,UDP协议。在WINDOW xp环境下,对IPv4 Socket API函数的不同进行了比较。利用VC++开发工具实现数据实时抓包,对数据包进行实时分析,TCP连接的跟踪,根据端口,协议,IP地址的指定,将协议,IP源地址,目标地址,包长度等主要协议内容提供给用户。
关键词:IPv4,TCP/IP,数据包分析, VC++
The main body of a article is studied in a deepgoing way IPv4 composes in reply protocol , TCP in TCP/IP protocol, IP , UDP protocol. Under WINDOW xp environment, have carried out comparison on IPv4/ Socket API function diversity。Making use of VC + + exploitation implement to realize a data grasp a bag, the content carrying out the main agreements such as tracking , allocating address , the parcel the length according to holding the mouth , agreement , IP address, with the protocol , IP source address , target that real time analysis , TCP link on data bag provides to the consumer.
KeyWords:,IPv4,TCP/IP,Data package analyse,VC++