登录
首页 » FTP » 多线程网络传输代码,从网络棋牌游戏中整理出这个献给大家:) 开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy) 使...

多线程网络传输代码,从网络棋牌游戏中整理出这个献给大家:) 开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy) 使...

于 2022-03-14 发布 文件大小:54.82 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

多线程网络传输代码,从网络棋牌游戏中整理出这个献给大家:) 开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy) 使用协议:TCP/IP 客户端一次发送65000字节的包,服务端负责组装并处理数据粘连。 使用ReadBuffer(),Send()函数来接收发送Buffer内字节,这样作的目的是使程序具有更好的灵活性。你可以自定义Buffer内那些字节的含义,例如是字符串、图像、声音、命令等等。 文件的多线程读写采用windows内存映像技术。 关键的服务器处理函数IdTCPServer1Execute(AThread: TIdPeerThread)是非线程安全的。如果使用临界区,那么多线程将在这里串行执行,严重降低多线程效率。对此,我采用一个简单的办法,具体可以看程序。

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

发表评论

0 个回复

  • write a VB FTP program, and you can achieve the ftp's all operators
    一个用VB写的FTP程序,可以实现你在ftp里的所有操作-write a VB FTP program, and you can achieve the ftp"s all operators
    2022-05-21 02:37:09下载
    积分:1
  • 25--FTP-tool
    文件是使用vc++,编写的一款实现ftp功能的软件。界面美观,功能实用。(File using vc++, write a function to achieve ftp software. Interface is beautiful, functional and practical.)
    2011-06-24 09:38:41下载
    积分:1
  • FTP_client_implementation_code
    FTP客户端的实现代码FTP client implementation code(FTP client implementation code)
    2010-08-15 13:45:52下载
    积分:1
  • tftp4net-16532
    This projects implements the TFTP (Trivial File Transfer) protocol for .NET in an easy-to-use library. It allows you to integrate TFTP client and server functionality into your project. It is stable, unit-tested and comes with a sample TFTP client and server. The main focus is to provide an API that allows you to easily access TFTP servers (or serve TFTP clients) in your own applications. If you re looking for a fully-fledged, you should probably look into other projects. However, if you re looking for code that allows you to implement your own TFTP client/server in only a few lines of code, you ve come to the right place.
    2012-06-03 16:39:23下载
    积分:1
  • through a network of high
    一个通过网络高速传输文件的控件: 具有以下特点 1.有高速数据传输功能,超过了Winsock控件的吞吐量 2.入校验功能,满足大数据包的收发,理论上不限数据尺寸 3.加入防错代码,提高了接口鲁棒性-through a network of high-speed transmission of documents, the controls : one with the following features. A high-speed data transmission functions Controls over the throughput of Winsock 2.- Check function and meet large data packet transceiver, Theoretically Open-data size 3. to prevent the wrong code, improve the robustness Interface
    2023-06-09 18:25:03下载
    积分:1
  • 功能完备,几乎实现说有功能。
    功能完备,几乎实现说有功能。-complete functions and almost achieved that are functional.
    2022-04-24 18:57:34下载
    积分:1
  • Ftp 德尔福
    Ftp 丰泰 em 德尔福,这个项目里 desenvolvido em 德尔福段 fazer 下载 e 上载 de arquivos,totalmente 耐心的服务 e testado qualquer dúvida é só entrar em contato com nildglan@hotmail.com
    2022-02-10 01:05:03下载
    积分:1
  • ftp commands for system management, program development, such as ftp commands fo...
    ftp指令,用于系统管理、程序开发等 ftp指令,用于系统管理、程序开发等-ftp commands for system management, program development, such as ftp commands for system management, program development, etc.
    2022-11-26 10:50:03下载
    积分:1
  • 调试助手
    说明:  简单方便的网络调试助手,适用于各个网络编程通讯测试。(Simple and convenient network debugging assistant, suitable for each network programming communication test.)
    2018-12-25 15:22:26下载
    积分:1
  • 一个ftp服务器的源码
    一个ftp服务器的源码-an ftp server source code
    2023-06-25 06:20:03下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载