-
WinSocketAPI
使用Winsocket API实现的网络通信功能,分客户端和服务器端。(Winsocket API to achieve the use of the network communication function, sub-client and server.)
- 2009-05-19 12:30:43下载
- 积分:1
-
mail
说明: 一个基础于C++的邮件收发器,已测试,运行正常用(A foundation in C++ the message transceiver has been tested with the normal operation)
- 2009-08-15 10:11:11下载
- 积分:1
-
TRACERT
支持IPv4和IPv6的路由探测代码,可以用来开发网络探测工具(traceroute in IPv4 and IPv6 network)
- 2021-03-31 16:09:09下载
- 积分:1
-
protntyping
实现基本的图书管理功能,并能实现可移植性,是本人学习其间的练习作品,值得借鉴,()
- 2017-09-26 07:02:40下载
- 积分:1
-
nas
从libnids得到TCP重组的数据,当libnids的状态为NIDS_JUST_EST时,表示TCP建立连接,在此时给TCP流增加一个flow_id用来标识此连接;当libnids的状态为NIDS_DATA时,表示接受数据,当有新的数据到达时,根据flow_id把数据push到相应的流表中,为之后的数据分析做准备。因此,可以在此框架上增加符合http协议的应用解析(Data TCP libnids restructuring, when libnids status to NIDS_JUST_EST, said the TCP connection is established, at the same time adds a flow_id to TCP flow is used to identify this connection When libnids status to NIDS_DATA, accepted data, when new data arrives, according to flow_id to push data to the corresponding flow table, prepare the way for after data analysis. Can be increased on this framework, therefore, in accordance with the application of the HTTP protocol parsing)
- 2015-02-02 17:44:36下载
- 积分:1
-
KOSDemo
本opc server工具可用于各种opc的调试环境(This tool can be used for a variety opc server opc debugging environment)
- 2017-05-07 23:00:05下载
- 积分:1
-
LAN-monitoring-system
局域网监控系统采用vc++6.0编写,需要oracle数据库(LAN monitoring system)
- 2013-12-13 22:03:19下载
- 积分:1
-
SocketUDP
使用vc中的socket类实现的UDP通信程序源码(Using multi-threaded approach to achieve the source code of the UDP traffic)
- 2012-09-05 22:16:32下载
- 积分:1
-
shortest-path
通信网络的架设问题 若要在n(≥10)个城市之间建设通信网络,只需要架设n-1条线路即可(With the Dijksra algorithm to network G from source points to the rest of the vertices of the shortest path)
- 2014-01-11 23:32:27下载
- 积分:1
-
client-server
多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。
(Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
- 2016-07-11 10:19:07下载
- 积分:1