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

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

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

代码说明:

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

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

发表评论

0 个回复

  • FTP_Client
    说明:  FTP的客户端,界面化的ftp操作,运行此程序后,需要只能ftp服务器端的用户名和密码,并且需要服务器端开启才可以进行正常的ftp下载。(FTP client, the interface of the ftp operation.)
    2010-04-30 18:18:39下载
    积分:1
  • 演示制作基于API的FTP程序
    演示制作基于API的FTP程序-demo production based on the FTP API procedures
    2022-05-26 13:34:48下载
    积分:1
  • Network programming, FTP server and client source code, developed by vs, there i...
    网络编程,FTP服务器端和客户端的源码,用vs开发的,没有控件,是初学者学习网络编程比较好的例子-Network programming, FTP server and client source code, developed by vs, there is no control, is for beginners to learn a better example of network programming
    2023-06-09 12:40:04下载
    积分:1
  • FTPServer的智能手机设备
    Ftp server, used to setup a server for smart phone connection.End user can transfer data between smart phones.Need another ftp client for establishing connection..
    2023-01-31 19:35:04下载
    积分:1
  • java 做的ftp server
    java 做的ftp server-java does ftp server
    2022-07-22 10:44:08下载
    积分:1
  • ftpServer is a console based on the ftp server, be able to achieve most of the F...
    ftpServer是一个基于控制台的ftp服务器程序,能够实现大部分的FTP的服务器程序;用VC6开发,在XP和2000系统上稳定运行。-ftpServer is a console based on the ftp server, be able to achieve most of the FTP server procedures; VC6 use development, In XP and 2000 systems and stable operation.
    2022-02-06 07:42:28下载
    积分:1
  • Ftp file upload of com components, and provides a DLL of the SDK documentation
    文件上传ftp的com组件,并提供了DLL的SDK文档说明-Ftp file upload of com components, and provides a DLL of the SDK documentation
    2022-02-05 22:09:44下载
    积分:1
  • 2022-04-25 02:08:30下载
    积分:1
  • WarftpPccproxy
    用C语言编写,分别攻击了Warftp和ccproxy两个漏洞(这两个漏洞只在windows xp sp2中存在,sp3和win7已经修复。因此需要安装一个sp2的虚拟机),攻击完成后,会弹出一个攻击成功的对话框,程序比较基础,但是能够帮助初学者深刻了解缓冲区溢出的原理。(Using C language, were attacked Warftp and ccproxy two vulnerabilities (both vulnerability only exists in windows xp sp2, sp3 and win7 has been repaired, so you need to install a virtual machine sp2), and after the attack is completed, it will pop up a successful attack dialog program basis for comparison, but a deep understanding of the principles that can help beginners buffer overflow.)
    2014-07-21 15:58:30下载
    积分:1
  • FTP (File Transfer Protocol) file transfer protocol that is a widely used networ...
    FTP(File Transfer Protocol)即文件传输协议,是一种被广泛应用的网络协议。该协议建立在TCP/IP基础之上,能够保证高可靠性的文件传输。本程序是FTP客户端软件的开发实例。-FTP (File Transfer Protocol) file transfer protocol that is a widely used network protocols. The agreement builds on a TCP/IP based, to ensure high reliability of file transfer. This procedure is FTP client software development examples.
    2022-04-08 05:59:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载