-
串口转TCP/IP 实用程序
串口转TCP/IP 实用程序
程序的整体结构:
程序功能实现如下:
客户端 (CTcpSocket)转接程序(CSerialPort) 串口设备
对于每个CTcpSocket和CSerialPort对用一个CItem的结构进行管理,可以在配置文件里配置多个连接转发对。
程序中主要的类有:CSerialPort、CTcpSocket、CItem。可以把从串口收到的数据转发向数据套接字和调试套接字,而且可以写入日志文档。
程序配置文件(config.ini)说明:
1.
[item1] #连接名称
2.
TcpDataPort=9990 #数据端口
3.
TcpDebugPort=9991 #调试端口
- 2022-06-27 02:04:58下载
- 积分:1
-
This function places one keystroke at the head or tail of the BIOS type
This function places one keystroke at the head or tail of the BIOS type-ahead buffer if there is room for it.
- 2022-09-25 06:00:02下载
- 积分:1
-
一个简单的计算器程序,进行简单的数学计算,正确无误
一个简单的计算器程序,进行简单的数学计算,正确无误-A simple calculator program to carry out simple mathematical calculations are correct
- 2022-04-11 04:22:47下载
- 积分:1
-
javacc4.0版本,使用方法设置环境变量即可
javacc4.0版本,使用方法设置环境变量即可-javacc4.0 version, use the method of setting environment variables can be
- 2022-02-27 03:09:41下载
- 积分:1
-
计算机组态软件编程教材的源代码,虽然书写得不怎么样,但是这些小程序对大家还是很有帮助的。第10章...
计算机组态软件编程教材的源代码,虽然书写得不怎么样,但是这些小程序对大家还是很有帮助的。第10章-Teaching computer programming configuration software source code, although not how to write, but the U.S. is still a small program useful. Chapter 10
- 2023-01-10 04:45:03下载
- 积分:1
-
这是个立象标签打印机的测试程序,对开发商用标签打印机的用户很有用的。我在后来的商业管理系统中用到了!...
这是个立象标签打印机的测试程序,对开发商用标签打印机的用户很有用的。我在后来的商业管理系统中用到了!-This is a label printer images of the test procedure for developers using the label printer users very useful. I was in the business management system used!
- 2022-03-05 03:39:48下载
- 积分:1
-
模拟ATM
这是一个基本的ATM模拟和它
- 2023-04-05 03:20:03下载
- 积分:1
-
这是一个VC的MD5哈希实现示例代码
This is a sample code for md5 hash implementation in VC-This is a sample code for md5 hash implementation in VC++
- 2022-01-24 15:23:30下载
- 积分:1
-
实现两个文件的连接,并把他存在另一个文件
实现两个文件的连接,并把他存在另一个文件-Connections to achieve the two documents and the existence of another document, he
- 2022-12-06 19:25:03下载
- 积分:1
-
获取主机名和IP地址
获取主机名和IP地址,主要是通过API 函数获取计算机的IP与计算机名称。
- 2022-04-13 06:35:06下载
- 积分:1