-
本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保...
本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保证数据在传输的过程中不会丢失。另外程序采用多个线程来避免程序阻塞。具体设计思路及部分代码如下:
程序设计目的:首先就是完成课设任务啦(大二课设内容)其他目的:
1:练习使用套接字进行网络编程。
2:练习使用自定义消息。
3:练习多线程方面的编程思想。
4:练习使用各种控件。
-This procedure is divided into server application design and part of the client application using Socket socket network programming library. (UDP) and (TCP/IP) connection method of combining, and resolved the timeliness of data transmission but also ensures that the process of data transmission will not be lost. Other procedures to avoid the use of multiple threads blocking procedures. Specific design ideas and some code as follows: program design purposes: first mission is set up you finish class (sophomore class for the content of) other purposes: 1: Practice using the socket network programming. 2: Practice the use of custom message. 3: practice aspects of multi-threaded programming idea. 4: Practice using a variety of controls.
- 2022-03-23 04:56:54下载
- 积分:1
-
一款能生成EAN13条形码的控件,提供了原代码,用户可以在其基础上进行二次开发...
一款能生成EAN13条形码的控件,提供了原代码,用户可以在其基础上进行二次开发-EAN13 bar codes to generate a control, provided the original code, the user can, in its second development on the basis of
- 2022-03-22 03:20:38下载
- 积分:1
-
windows mobile中操作outlook,可打开outlook,把信件写入草稿箱和发件箱。...
windows mobile中操作outlook,可打开outlook,把信件写入草稿箱和发件箱。-windows mobile operating outlook which can be opened Outlook. write a letter and copies of Trash bins.
- 2022-03-17 14:34:48下载
- 积分:1
-
PE文件格式系列译文之一
PE文件格式系列译文之一----
【翻译】“PE文件格式”1.9版 完整译文(附注释)-PE file format, one of series of translation Translation---- 【】 " PE file format" 1.9 version of the full translation (with notes)
- 2023-07-19 16:35:03下载
- 积分:1
-
Some programs for the homework. Enjoy yourself.
课后题的一些小程序,希望大家好好的享用-Some programs for the homework. Enjoy yourself.
- 2022-01-25 14:21:51下载
- 积分:1
-
查看接入主机的HID设备,并显示序列号,断口信息
查看接入主机的HID设备,并显示序列号,断口信息-See HID device host access
SetupDiGetDeviceInterfaceDetail(hDevInfo,&strtInterfaceData,NULL,0,&strSzie,NULL)
- 2022-03-01 02:07:54下载
- 积分:1
-
array.h: 安全数组 linkedlist.h: 普通表 dclinkedlist: 双向循环链表 hashtable.h: 哈希表 binstree.h...
array.h: 安全数组 linkedlist.h: 普通表 dclinkedlist: 双向循环链表 hashtable.h: 哈希表 binstree.h: 二叉搜索树 avltree.h: AVL 树 如果要存储集合(元素不可重复)并快速查找,最佳的是 binstree.h(二叉搜索树)。 如果要存储二维或更高维的表格,最佳的是 hashtable.h(哈系表)。AVL 树的插入成本非常高(删除函数也没有实现),但 AVL 的搜索效率极高,所以适用于在程序开始前初始化程-NOTE:
array.h :secure array,linkedlist.h:common table,
dclinkedlist:dual cycle linkedlist,
hashtable.h:hash table
binstree.h:binary search tree,
avltree.h: AVL tree,
if you want to store set(elements no repeating) and to lookup it swiftly,best is binstree.h(binary search tree).if you want to store two dimensions s or more dimensions s table,best hashtable.h(hash table).the cost of AVL tree s insertion is very high(delete function is not completed),but effiency of AVL tree s search is very high,so it is the same with initialize programme before beginning programme.
- 2022-08-16 05:08:19下载
- 积分:1
-
select机制
windows下以阻塞的方式读取或接受数据,串行模式接收数据,多路复用机制,实现了多个客服端发送数据,一个服务器接收数据,高效处理小于1024个客服端数据
- 2022-03-06 04:02:57下载
- 积分:1
-
基于GA的单点VPR调度问题
用遗传算法解决最简单地车场调度问题,本程序简单易上手,供新手参考,启发思路,并可在此程序上结合其他智能优化算法加以改进。
- 2022-04-21 01:16:05下载
- 积分:1
-
VB通过串口读取条形码,通过VB编写的程序
VB通过串口读取条形码,通过VB编写的程序-VB to read bar codes through the serial port through VB program prepared
- 2022-02-13 16:34:42下载
- 积分:1