登录
首页 » Windows Socket编程 » Windows Socket API 使用经验

Windows Socket API 使用经验

于 2023-08-14 发布 文件大小:141.38 kB
0 151
下载积分: 2 下载次数: 1

代码说明:

Windows Socket API 使用经验-Windows Socket API experience

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

发表评论

0 个回复

  • 一个利用Socket进行文件传输的例子。
    一个利用Socket进行文件传输的例子。-use for a file transfer example.
    2022-03-06 06:20:37下载
    积分:1
  • Chat server and client procedures counterparts can ah
    聊天服务器端程序 与客户端的对应才可以呀-Chat server and client procedures counterparts can ah
    2022-03-24 23:35:25下载
    积分:1
  • 序可远下载主序新版本. 修改本序中的主序文件名,即可实现此功能....
    本程序可远程下载主程序新版本. 修改本程序中的主程序文件名,即可实现此功能.-The program can remotely download the new version of the main program. The revised procedure for the main program file name, this function can be realized.
    2023-07-05 19:15:04下载
    积分:1
  • 一个较老的微软公司的NDIS驱动
    一个较老的微软公司的NDIS驱动程序-A older Ndis driver of Microsoft Company
    2022-05-23 17:46:11下载
    积分:1
  • 利用拨号上网的简单例子。
    利用拨号上网的简单例子。-use dial-up Internet access simple example.
    2023-01-26 19:00:03下载
    积分:1
  • 一个简易的聊天系统,可以在局域网内聊天,适合在公司不能上网的朋友....
    一个简易的聊天系统,可以在局域网内聊天,适合在公司不能上网的朋友.-A simple chat system, you can chat in the LAN for Internet access in the company should not friends.
    2023-08-20 18:55:03下载
    积分:1
  • CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实...
    CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实际处理UDP 数据报的功能紧耦合,这需要通过继承实现,同时设置workmode 为auto_receive(参见SetWorkdMode),另外一种是直接作为单独对象出现,此时用户需要使用Recv成员函数自己处理数据的接收。-CUdpSocket is to simplify this, the analytical data reported by the UDP with a base class. This type of packaging based SOCK_DGRAM the most basic operation. This provides two types of work, is a practical and UDP data processing function of tight coupling, it needs to achieve through inheritance, as set workmode auto_receive (see SetWorkdMode), the other is directly emerging as a separate object, users need to use this member function since Recv others receiving data processing.
    2023-07-22 21:35:02下载
    积分:1
  • retrieval using vc achieve LAN
    用vc实现检索局域网-retrieval using vc achieve LAN
    2022-04-09 10:01:51下载
    积分: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
  • 用VB开发的自动更新序,显示下载进度,多线下载
    用VB开发的自动更新程序,显示下载进度,多线程下载-VB development of the automatic update, showing the progress of the download, multi-threaded Download
    2023-07-28 20:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载