Location:
Search - SOCKET,TCP,UDP
Search list
Description: 为了方便网络编程,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
Platform: |
Size: 10687 |
Author: wq57 |
Hits:
Description: 关于TCP,UDP协议的网络编程,程序实现了客户端和服务器端的通信连接,通过socket建立连接,可以互相发送消息接收。
Platform: |
Size: 64549 |
Author: 周人 |
Hits:
Description: 这是一个利用TCP,UDP收发消息的程序,可以用于调试其它的SOCKET程序是否可以正常的接收和发送SOCKET消息。
Platform: |
Size: 47271 |
Author: xiongzhend@21cn.com |
Hits:
Description: WIN API开发的基于SOCKET的简单TCP,UDP通信程序,对初学者使用SOCKET很有帮助
Platform: |
Size: 35021 |
Author: vivo01 |
Hits:
Description: TCP网络传输,使用socket开发,基本的东西都已经具备,没有漂亮的界面,用vc开发-TCP net transfer develops through socket,with the basic stuff provided,without beautiful interface. It is developed by VC.
Platform: |
Size: 71680 |
Author: 杨智 |
Hits:
Description: 本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保证数据在传输的过程中不会丢失。-program design into the application server and client applications, using Socket Library Network Programming. (UDP) and (TCP/IP) combined for the connection, and solving the data transmission can ensure that the timeliness of the data transfer process is not lost.
Platform: |
Size: 233472 |
Author: qifang |
Hits:
Description: 首先Server程序创建两个socket,分别为 TCP socket(使用命令行参数指定的端口号)和UDP socket(UDP端口号自定义,使用宏定义写在程序里,必须大于1024)。server端在这两个端口上侦听连接,接受来自客户端的服务请求。客户端根据提示进行操作。-procedures created two socket, for TCP socket (using the command line parameters designated ports), and UDP socket (UD P-defined port, the use of write-in process definition, must be greater than 1024). In this terminal server ports on the two monitors connected to accept from the client service requests. According to client instructions.
Platform: |
Size: 155648 |
Author: 李皓雯 |
Hits:
Description: 为了方便网络编程,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
Platform: |
Size: 10240 |
Author: wq57 |
Hits:
Description: Linux下C++ Socket类,包括TCP,、UDP这两种基本协议。
-Linux under the C++ Socket categories, including TCP,, UDP both basic agreement.
Platform: |
Size: 1024 |
Author: 小强 |
Hits:
Description: 关于TCP,UDP协议的网络编程,程序实现了客户端和服务器端的通信连接,通过socket建立连接,可以互相发送消息接收。-On TCP, UDP network programming protocols, procedures realize the client and server communications connections to establish a connection through the socket, you can send a message to receive each other.
Platform: |
Size: 64512 |
Author: 周人 |
Hits:
Description: UDP实现聊天传输,TCP实现文件传输功能;主要使用Socket编程-UDP transmission chat implementation, TCP implementation file transfer function the main use of Socket Programming
Platform: |
Size: 54272 |
Author: fred |
Hits:
Description: java实现的网络版坦克大战源码,可以同时多人对战,对于学习tcp,udp,socket等网络编程,多线程编程等具有极好效果,同时亦可学习网络游戏的编程思维。-java implementation of the online version of Tankedaizhan source, you can simultaneously multiplayer, the study tcp, udp, socket, such as network programming, multi-threaded programming with excellent results, but will also study network programming Thinking Games.
Platform: |
Size: 502784 |
Author: liuben |
Hits:
Description: socket 分别以tcp,udp两种方式通信的代码。
同一套代码,依靠不同的makefile文件,分别编译出在windows环境、linux环境、Android环境下的执行文件。-socket respectively tcp, udp communication code in two ways. The same set of code, relying on a different makefile files, respectively, lies in the windows environment to compile, linux environment, Android environment execute the file.
Platform: |
Size: 4096 |
Author: 孙涛 |
Hits:
Description: 跨平台C++ 功能全面的Socket类库,支持TCP,UDP,限速-Cross-platform C++ full-featured Socket library, support TCP, UDP, speed limits, etc.
Platform: |
Size: 4096 |
Author: danny |
Hits:
Description: socket编程,里面是包含TCP和UDP的传输代码,新手可以借鉴-socket programming, which includes TCP and UDP is the transport code, novices can learn
Platform: |
Size: 15360 |
Author: 潘亮 |
Hits:
Description: C#网络核心编程
讲述SOcket,TCP,UDP,等其他的网络上的编程-C# network core programming tells the socket, TCP, UDP, and other programming on the other networks
Platform: |
Size: 7702528 |
Author: wangxl |
Hits:
Description: HP-Socket 是一套通用的高性能 TCP/UDP 通信框架,包含服务端组件、客户端组件和Agent组件,广泛适用于各种不同应用场景的 TCP/UDP 通信系统,提供 C/C++、C#、Delphi、E(易语言)、Java、Python 等编程语言接口。HP-Socket 对通信层实现完全封装,应用程序不必关注通信层的任何细节;HP-Socket 提供基于事件通知模型的 API 接口,能非常简单高效地整合到新旧应用程序中-HP-Socket is a common set of high-performance TCP/UDP communications framework, including the server component, client component and Agent components, widely used in a variety of different scenarios TCP/UDP communication system that provides C/C++, C#, delphi, E (easy language), Java, Python and other programming language interface. HP-Socket communication layer to achieve complete package, the application does not have to follow any details of the communication layer HP-Socket-based event notification model provides the API interface, it can be very simple and efficient way to integrate old and new applications
Platform: |
Size: 4839424 |
Author: 金朋轩 |
Hits:
Description: c#开发的网络通讯的demo,包括tcp,udp,发送邮件;(C# developed demo for network communications, including TCP, UDP, and sending mail;)
Platform: |
Size: 28672 |
Author: vivio123
|
Hits:
Description: TCP和UDP的例子框架,CMake进行编辑(TCP UDP chuncuicou zishu)
Platform: |
Size: 5120 |
Author: xsw11
|
Hits:
Description: 带socket TCP和UDP接口的视频播放器。监听socket TCP和UDP端口,可接收外部的控制指令。包括视频片源选择,播放,暂停,停止和音量等。用户可自已定义端口。播放器本身不带任何按钮,只能通过socket指令控制。
这个是控制端程序, 在我资源列表里,有播放端程序下载。(Video player with socket TCP and UDP interface. Monitor socket TCP and UDP ports and receive external control instructions. Including video source selection, playback, pause, stop and volume, etc. Users can define their own ports. The player itself has no buttons and can only be controlled by socket instructions.)
Platform: |
Size: 17724416 |
Author: 转角撞到头 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
20
»