-
STM32F103RB
STM32F103RB USB模拟串口范例,参考官方版本,改写双缓冲+环型队列接收,改写环节队列发送。工程开发环境为COOCOX IDE。(STM32F103RB USB virtual serial port example, refer to the official version, rewritten double buffering+ ring queue receiver, rewritten ring queue to send. Development environment for COOCOX IDE.)
- 2013-09-20 00:50:38下载
- 积分: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
-
C51-code-example.zip
INTEL-C51一些常用的源程序,供初学者参考,(INTEL- C51 some frequently used source for beginners reference.)
- 2007-02-26 17:12:22下载
- 积分:1
-
222171720920061213101744868886
使用 visual c++编写的基本的数字图像处理程序,(The use of visual c++ Prepared basic digital image processing procedures,)
- 2007-10-21 16:26:10下载
- 积分:1
-
DHT11温湿度传感器
温湿度传感器读取温湿度数值,有效解决了无法显示的问题(Temperature and humidity sensor reading temperature and humidity value, effectively solve the problem of unable to display)
- 2020-06-18 16:40:02下载
- 积分:1
-
gsl-18
GSL is the GNU scientific library for numerical computing. It is a collection of routines for numerical computing in e.g. linear algebra, probability, random number generation, statistics, differentiation, integration, optimization, and differential equations
- 2009-09-01 16:30:01下载
- 积分:1
-
交通灯protues仿真程序
交通灯的设计开发,实现道路交通的智能控制,可以根据道路实际情况改变通行时间(The design and development of traffic lights can realize the intelligent control of road traffic, and change the passage time according to the actual situation of the road)
- 2020-06-26 20:00:02下载
- 积分:1
-
liunxcnc代码
开源数控系统,多种机器人控制源代码。多种机器人正反解函数,学习运动控制的好资料
- 2022-05-20 13:54:03下载
- 积分:1
-
power_wind_ig
用simulink对风电场进行建模分析得到功率以及电流的仿真图(This example uses an initial state vector to start the simulation steady-state. When you make changes to the model (add, delete, rename blocks, etc),
the initial state vector needs to be regenerated or disabled, otherwise Simulink signals an error when the simulation is started.
To disable the use of initial state vector for this model, go to the Data Import/Export section of the Model Configuration Parameters tool and uncheck the
Initial state option under the Load workspace section.
To regenerate the initial state vector after a change to the model, follow the instructions given in the initialization file for this model.
Type open( init_power_wind_dfig ) at the matlab prompt to view this file.)
- 2015-07-24 13:48:45下载
- 积分:1
-
21ic下载_SIM卡PCB封装+原理图(1)
sim卡原理图、Altium designer打开(Sim card schematic, altium designer opens)
- 2018-03-30 16:11:29下载
- 积分:1