-
两个VC++ Modbus通信例子源代码
modbbus rtu通讯例子,内附有实现文档(Modbbus RTU communication example, with an implementation document)
- 2018-01-07 23:40:36下载
- 积分:1
-
cli
windows 套接口 编程 udp(windows udp socket programming)
- 2013-05-28 12:23:43下载
- 积分:1
-
msocudp
微软提供的UDP编程实例代码,实现了客户端向服务端发送数据的功能,服务器端接收并显示。(UDP programming example code provided by Microsoft client functionality to send data to the server, the server-side receiver and display.)
- 2012-09-05 22:12:35下载
- 积分:1
-
testdlg
检测NAT类型的客户端,程序中指定了服务器IP地址,用户可以自行修改(Detect NAT type of the client, the program specifies the server IP address, the user can modify)
- 2013-08-22 10:16:36下载
- 积分:1
-
26-Visual-CSharp
Visual C 网络核心编程(Programming Visual C network core)
- 2011-05-20 00:05:05下载
- 积分:1
-
VCPP--scan
VC++ 编写简单文件扫描器
编写递归函数
查找文件 用的(recursive function)
- 2011-05-03 16:40:49下载
- 积分:1
-
netstatp
类似Windows的netstat程序的程序 (An app which is like to windowss netstat)
- 2021-04-03 22:29:04下载
- 积分:1
-
ScanPort
说明: MFC实现多线程 简单端口扫描程序 能自定义线程数量及扫描端口范围(MFC simple multi threaded port scanner can scan a custom port number and scope of the thread)
- 2020-11-25 00:49:38下载
- 积分:1
-
socketServer
实习UDP网络通信,通过windows下UDP(come true UDP socket communition.)
- 2017-02-09 09:25:32下载
- 积分: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