-
本文介绍了如何在C#中基于SOCKET实现多人之间的相互聊天。
本文介绍了如何在C#中基于SOCKET实现多人之间的相互聊天。-paper described how the C# based on Socket achieved between the people chatting.
- 2022-03-16 08:18:12下载
- 积分:1
-
Example of using PIPEs for consoles apps
Example of using PIPEs for consoles apps
- 2022-01-22 10:33:53下载
- 积分:1
-
Examination Management System to facilitate the examination of the management an...
考试管理系统,方便考试人员的管理和进行网上考试的便利可行。-Examination Management System to facilitate the examination of the management and staff for the convenience of online examinations feasible.
- 2022-09-18 00:50:02下载
- 积分:1
-
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载...
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724。那么线程1就自动去调整任务,拿50%的任务来再次下载。周而复始直到各个线程都完成任务。不过这里有一点需要注意:为了避免重复下载部分数据,在调整任务的时候,起始的文件便移量必须加上接受缓冲器的字节数,因为如前面所举的列子来看。线程1和线程3在平衡负载的时候,线程正在下载数据,如果所剩的数据比接受缓冲器的大小还小,线程1和线程3的部分下载数据将会重复。
在调整任务和分析任务的时候,会发现一个问题。就是读取文件数据太过频繁。于是我用了一个数据结构。在下载文件的过程中始终打开配置文件,这样速度提高了很多。在文件下载完毕后关闭文件。-various threads assignment is achieved. At the beginning of the download, the paper divided into a number of pieces of the download. As a thread of a task is to start from the position paper of 0 to start the download has 72,908 locations Department. Thread a download each one will have to adjust the data tasks, such as the first downloaded 20,800 gigabytes of data, then threaded a task will be re :20800- 72908. This situation continues until the mandate of 72908-72908 said threaded a completion of the cu
- 2022-03-20 03:50:55下载
- 积分:1
-
C程序设计语言
纯 C 语言用 Win32 API + Socket 编写的端口扫描器 是控制台下的。-C Program Language
write Port Scan
- 2022-03-17 15:43:04下载
- 积分:1
-
使用XML和.NET编写的天气查询系统,运行界面为网叶。
使用XML和.NET编写的天气查询系统,运行界面为网叶。-The use of XML and. NET prepared weather Inquiry System, run interface for network leaf.
- 2022-06-20 16:19:38下载
- 积分:1
-
source involved in the programming of the network, image processing, data compre...
这个源码涉及到网络编程,图像处理,数据压缩与传输。-source involved in the programming of the network, image processing, data compression and transmission.
- 2022-03-21 00:55:37下载
- 积分:1
-
采用vb 实现的工业控制系统中的OPC(OLE FOR PROCESS CONTROL)通信控制程序,可以实现与西门子 多个243...
采用vb 实现的工业控制系统中的OPC(OLE FOR PROCESS CONTROL)通信控制程序,可以实现与西门子 多个243-1以太网通信模块实现连接-used vb, bringing the control system of OPC (OLE FOR PROCESS CONTROL) communication control procedures, can be achieved with Siemens over 243-1 Ethernet communications modules to connect
- 2022-10-16 15:40:02下载
- 积分:1
-
局域网内利用messenger服务发送消息
局域网内利用messenger服务发送消息-LAN messenger service send a message to use
- 2022-01-30 14:24:32下载
- 积分:1
-
书上的Csocket的网络客户端源代码.上面的许多知识对我有很大帮助.希望对您也有所帮助....
书上的Csocket的网络客户端源代码.上面的许多知识对我有很大帮助.希望对您也有所帮助.-Csocket book on the network client source code. Many of the above knowledge to have helped me a lot. You also want to be helpful.
- 2022-02-06 08:46:57下载
- 积分:1