文件名称:Oftomatization
- 所属分类:
- 数据库编程
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 10.44kb
- 下载次数:
- 0次
- 提 供 者:
- w***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
为了方便网络编程,90年代初,由Microsoft联合了其他几家公司共同制定了一套WINDOWS下的网络编程接口,即Windows Sockets规范,它不是一种网络协议,而是一套开放的、支持多种协议的Windows下的网络编程接口。本篇论文主要是介绍了在TCP/IP基础上利用winsock2对网卡进行编程,以达到网络流量监测的目的。论文首先介绍了TCP/IP协议,旨在介绍IP,TCP,UDP等比较重要的协议。主要是介绍IP头,TCP头,UDP头的特点,以便从IP头中可以获取源地址,目的地址,协议类型等信息。在随后的章节中提出了Socket的概念,Socket实际上提供了一个通信端口使所有拥有Socket的端口的计算机之间能够相互通信,在本论文中主要说明了socket的建立,监听和撤销的过程。具体到程序实现中,对网卡混杂模式的设置是通过原始套接字(raw socket)来实现的。为了让原始套接字能接受所有的数据,还需要通过将SOCK_RAW设置成SIO_RCVALL。对数据包的获取通过recv()函数来完成。最后要完成的工作就是对所捕获的IP数据包进行分析以提取出我们所需要的信息。在论文的最后是旨在说明进一步工作的展开.
关键词:网络流量测量 TCP/IP协议 WINSOCK编程
-To facilitate network programming and the beginning of the 1990s, Microsoft jointly by several other companies to develop a set of Windows programming network access , that is, Windows Sockets norms, it is not a network protocol, but a liberal, Multi-protocol support for the Windows network programming interface. The main purpose of this paper is to introduce a TCP / IP based on the use of the card for winsock2 programming, to achieve network traffic monitoring purposes. Papers first introduced the TCP / IP protocol, aimed at introducing IP, TCP, UDP, and other more important agreements. IP is introduced first, the first TCP, UDP first features to the IP header from access to the source address, destination address, Agreement type, and other information. In the ensuing chapters of the Sock
关键词:网络流量测量 TCP/IP协议 WINSOCK编程
-To facilitate network programming and the beginning of the 1990s, Microsoft jointly by several other companies to develop a set of Windows programming network access , that is, Windows Sockets norms, it is not a network protocol, but a liberal, Multi-protocol support for the Windows network programming interface. The main purpose of this paper is to introduce a TCP / IP based on the use of the card for winsock2 programming, to achieve network traffic monitoring purposes. Papers first introduced the TCP / IP protocol, aimed at introducing IP, TCP, UDP, and other more important agreements. IP is introduced first, the first TCP, UDP first features to the IP header from access to the source address, destination address, Agreement type, and other information. In the ensuing chapters of the Sock
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 41695046oftomatization.rar 列表 UserControls\BottomBanner.ascx UserControls\BottomBanner.ascx.cs UserControls\SystemTop.aspx UserControls\SystemTop.aspx.cs UserControls\TopBanner.ascx UserControls\TopBanner.ascx.cs UserControls CSS\ASPNET2BaseCss.css CSS\ASPNET2NoLinkCss.css CSS\ASPNET2Normal.css CSS\ASPNET2WebNormal.css CSS\Calendar.css CSS\Search.css CSS\TreeView.css CSS