登录
首页 » Windows Socket编程 » 本程序在VC.NET中编译通过,实现了好友上线,下线UDP广播,及用XML实现消息传输,及文件传输功能。...

本程序在VC.NET中编译通过,实现了好友上线,下线UDP广播,及用XML实现消息传输,及文件传输功能。...

于 2022-02-02 发布 文件大小:90.60 kB
0 219
下载积分: 2 下载次数: 1

代码说明:

本程序在VC.NET中编译通过,实现了好友上线,下线UDP广播,及用XML实现消息传输,及文件传输功能。-procedures in the VC. Compiled by achieving a friend on the line, assembly line UDP broadcasting, and using XML messaging, and file transfer functions.

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

发表评论

0 个回复

  • 多线程实时网络传输,用于上位机与下位机实时通信-Multi-threaded real-time network transmission, for PC and next-bit machine real-time communication
    2022-02-20 07:49:27下载
    积分:1
  • 自动注册SOHU用户小
    自动注册SOHU用户小程序-automatic registration procedures for small users SOHU
    2023-05-05 07:00:04下载
    积分: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
  • 扫描局域网内的所有机器信息,包括IP地址、主机名等。
    扫描局域网内的所有机器信息,包括IP地址、主机名等。-Scan LAN for all machines, including IP address, host name and so on.
    2023-05-25 03:15:03下载
    积分:1
  • 一个控制台的select模型的聊天服务器
    一个控制台的select模型的聊天服务器-console select a chat server model
    2023-03-28 14:35:04下载
    积分:1
  • 一个邮件代理的例子
    一个邮件代理的例子--An example of mail-agent
    2022-12-14 15:15:03下载
    积分:1
  • 利用socket进行网上对话聊天,包括服务器端和客户端序源码及用户界面的建立....
    利用socket进行网上对话聊天,包括服务器端和客户端程序源码及用户界面的建立.-You can chat with socket online,including server and client source code and the implementation of GUI
    2022-01-30 14:47:37下载
    积分:1
  • 一个很有意思的TELNET登录BBS的序源代码,界面简洁好用,非常不错。...
    一个很有意思的TELNET登录BBS的程序源代码,界面简洁好用,非常不错。-TELNET an interesting sign BBS program source code, the interface simple and easy to use, very good.
    2023-01-04 23:10:04下载
    积分:1
  • series, extended programming examples bis basis.
    firefox系列,扩展编程实例之二,基础。-series, extended programming examples bis basis.
    2022-03-15 15:58:58下载
    积分:1
  • SOCKET 底层协议数据结构 如: /* IP Header RFC
    SOCKET 底层协议数据结构 如: /* IP Header RFC-791 0 3 7 15 31 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Version| IHL |Type of Service| Total Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Identification | Flags | Fragment Offset | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time to Live | Protocol | Header Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Destination Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Options | Padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */-SOCKET underlying protocol data structures such as:/* IP HeaderRFC-7910 3 7 15 31+-+-+-+-+-+-+-+-+-+-+-2B !-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+ | Version | IHL | Type of Service | Total Length |+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+-+-+-+
    2022-03-14 02:24:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载