登录
首页 » 通信 » VB Mscomm控件应用

VB Mscomm控件应用

于 2022-07-10 发布 文件大小:91.33 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

VB Mscomm控件应用-VB Mscomm Control Application

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MARVELL processor mobile phone
    MARVELL processor mobile phone
    2022-02-28 23:45:02下载
    积分:1
  • 在演示过程中java版SMGP协议,它可以帮助你…
    一个关于smgp协议java版的demo程序,它也许能帮助你学习smgp编程-smgp agreement on a java version of the demo process, it may be able to help you learn smgp Programming
    2022-01-21 23:10:56下载
    积分:1
  • linux epoll模型
    该代码是关于在linux平台下的网络编程,epoll模型,socket接受线程:C语言为了高并发所以选择了epoll。当程序启动的时候(g_net_update.c文件中main函数,会启动一个thread见函数create_accept_task)这个thread就处理一件事情,只管接收客户端的连接,当有连接进来的时候 通过epoll_ctl函数,把socket fd 加入到epoll里面去,epoll设置监听事件EPOLLIN | EPOLLET; 主要是监听的是加入到epoll中的socket是否可读(因为我的需求是客户端连上了server就会马上向server发送一份数据的)。其它的部分在主线程中处理。主线程:是一个无线循环,epoll_wait 函数相当于把客户端的连接从epoll中拿出来(因为我们监听的是EPOLLIN | EPOLLET)说明这个时候客户端有数据发送过来)。再通过recv_buffer_from_fd 函数把客户端发送过来的数据读出来。然后其他的一切就抛给线程池去处理。线程池:(代码中我会在池里面创建15个线程) 双向链表。加入线程就是在链表后面加一个链表项,链表的前面会一个一个被拿出来处理。主要是malloc 函数free函数,sem_wait函数sem_post的处理(sem_wait 会阻塞当值大于0是会减一,sem_post是值加一)。typedef void* (FUNC)(void arg, int index);是我们自定义的线程的逻辑处理部分,arg是参数,index是第几个线程处理(我们隐形的给每个线程都标了号),例如代码中的respons_stb_info,更加具体可以看看代码里面是怎么实现的。聪明的你也可以改掉这块的内容改成动态线程池,当某个时刻的处理比较多的时候能够动态的增加线程,而不像我代码里面的是固定的。数据库连接池:按照我的需求在处理客户端请求数据的时候是要访问数据库的。就是一下子创建出一堆的数据连接。要访问数据库的时候先去数据库连接池中找出空闲的连接,具体可以看下代码。使用的时候可以参考下database_process.c文件(代码中数据库连接池和线程池中的个数是一样的)。
    2022-03-20 03:15:54下载
    积分:1
  • 华为的td
    华为的td-scdma内部讲义,介绍详细-Huawei td-scdma internal notes, introduced in detail
    2023-04-18 15:25:04下载
    积分:1
  • 光纤光缆技术发展以及在FTTH中的应用 综述了近期光纤光缆制造、施工及维护技术上的发展特点,分析了其发展趋势,并就我国光纤光缆技术与产业的发展提出了一...
    光纤光缆技术发展以及在FTTH中的应用 综述了近期光纤光缆制造、施工及维护技术上的发展特点,分析了其发展趋势,并就我国光纤光缆技术与产业的发展提出了一些值得思考的问题。FTTH正在走入人们实用化的视野,国内外很多光缆生产厂商或研究所都提出了自己的构想,本文着重介绍了FTTH应用中的一些典型的光纤及光缆技术,对FTTH在我国的发展前景做了分析,并提出了自己在FTTH发展中的一些观点。-Technological development of optical fiber and cable as well as in FTTH Applications in the near future of optical fiber and cable manufacturing, construction and maintenance of the characteristics of technological development, analyzes its development trends, and technology with China s optical fiber and cable industry raised some food for thought. FTTH is the people into a practical perspective, many domestic and international fiber optic cable manufacturers or research institutes have put forward their own ideas, this article highlights the FTTH application of some typical fiber-optic and fiber optic technology, the development of FTTH in China prospects analysis and put forward its own FTTH development in some of the points.
    2022-07-19 21:30:10下载
    积分:1
  • matlab中用于多用户检测方面的经典文章,如果大家想学联合检测,这篇文章不得不看...
    matlab中用于多用户检测方面的经典文章,如果大家想学联合检测,这篇文章不得不看-matlab used for multi-user testing of the classic article, if everyone wanted to learn a joint detection, this article had to look
    2022-05-13 12:46:43下载
    积分:1
  • introduces a general programmable interface based on the Universal Serial Bus
    介绍了一种基于通用可编程接口的通用串行总线-高级技术配件解决方案,将普通硬盘转化为Usb Mass Storage.-introduces a general programmable interface based on the Universal Serial Bus-senior technical accessories solution that will drive into ordinary Usb Mass Storage.
    2022-12-06 14:00:03下载
    积分:1
  • 拨号上网
    拨号上网-Dial-up
    2022-03-01 08:06:50下载
    积分:1
  • Introduction To Mobile Telephone Systems: 1G, 2G, 2.5G, and 3G Wireless Technolo...
    Introduction To Mobile Telephone Systems: 1G, 2G, 2.5G, and 3G Wireless Technologies and Services
    2022-05-19 19:02:47下载
    积分:1
  • by VC directory of a process! Simple and practical! The study is a good example!
    由VC目录下的一个进程!简单实用!学习就是一个很好的例子!
    2022-01-26 02:55:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载