Location:
Search - delphi indy TCP
Search list
Description: 多线程 网络传输
开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy)
传输协议:TCP/IP
客户端一次发送65000字节的包,服务端负责组装并处理数据粘连。
使用ReadBuffer(),Send()函数来接收发送Buffer内字节,这样作的目的是使程序具有更好的灵活性。你可以自定义Buffer内那些字节的含义,例如是字符串、图像、声音、命令等等。
文件的多线程读写采用windows内存映像技术。
关键的服务器处理函数IdTCPServer1Execute(AThread: TIdPeerThread)是非线程安全的。如果使用临界区,那么多线程将在这里串行执行,严重降低多线程效率。对此,我采用一个简单的办法,具体可以看程序。-multithreaded network transmission development environment : Delphi7.0 WinXP, useless other controls (except for the Delphi Indy own) transmission protocol : TCP / IP client to send a 65,000-byte packets, the server is responsible for assembling and processing data adhesion. Use ReadBuffer (), Send () function to receive this Buffer byte, for the purpose of this is to make procedures better flexibility. You can define Buffer byte within the meaning of those, such as strings, images, sounds, etc. order. The documents used to read and write multi-threaded windows memory mapping technology. Key server function IdTCPServer1Execute (AThread : TIdPeerThread) non-thread safe. If the use of critical areas, so many threads here on serial implementation, a serious decline in the efficiency of multit
Platform: |
Size: 69644 |
Author: 水滴 |
Hits:
Description: 在盒子里得到了这么多朋友无私的帮助,真的表示感谢!看到很多朋友在寻求多线程网络传输代码,为此,从我开发的网络棋牌游戏中整理出这个献给大家:)
开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy)
使用协议:TCP/IP
客户端一次发送65000字节的包,服务端负责组装并处理数据粘连。
使用ReadBuffer(),Send()函数来接收发送Buffer内字节,这样作的目的是使程序具有更好的灵活性。你可以自定义Buffer内那些字节的含义,例如是字符串、图像、声音、命令等等。
文件的多线程读写采用windows内存映像技术。
关键的服务器处理函数IdTCPServer1Execute(AThread: TIdPeerThread)是非线程安全的。如果使用临界区,那么多线程将在这里串行执行,严重降低多线程效率。对此,我采用一个简单的办法,具体可以看程序。-be in the box so many friends selfless help and really grateful! Many friends in the search for multi-threaded network transmission code, for from my development of the network and dominoes game sorted out the dedicated people :) development environment : Delphi7.0 WinXP, useless other controls (except for the Delphi Indy own) use agreement : TCP / IP client to send a 65,000-byte packets, the server is responsible for assembling and processing data adhesion. Use ReadBuffer (), Send () function to receive this Buffer byte, for the purpose of this is to make procedures better flexibility. You can define Buffer byte within the meaning of those, such as strings, images, sounds, etc. order. The documents used to read and write multi-threaded windows memory mapping technology. Key server functio
Platform: |
Size: 54717 |
Author: tom |
Hits:
Description: 用delphi的INDY 9 中的idtcp控件编写的文件传输,可以传送大文件,是新手学习的好例子
Platform: |
Size: 424720 |
Author: 583586123@qq.com |
Hits:
Description: UDP安全传输(完整源码)
大家都知道UDP比TCP好用发送速度快很多,程序写起来也简单的多,可缺点也同样明显UDP容易丢包,而且不能自动重发也不能自动组包没有数据安全机制,发的包不能超过2K(INDY,NMUDP等控件都是这样)否则就出错。
可很多需求中又需要发送大量数据包并且需要保证速度(如语音和视频通讯或者点对点点播服务。)而且有些重要的数据不允许丢包这个时候就需要安全UDP了。
Platform: |
Size: 462811 |
Author: 7484345 |
Hits:
Description: 基于Indy的网络聊天-based on the Internet chat Indy
Platform: |
Size: 395264 |
Author: 司徒良介 |
Hits:
Description: 本人初学delphi的网络开发,对许多的东西还不是很通,但这个代码也是呕心(不是恶心:-) )之作!因为初学往往把握不准核心,有缺乏通俗的教材,故而曰:万事开头难!
这个程序的目的:希望能对刚开始学习网络开发得朋友一点提示!了解基本的网络开发流程!学习使用delphi的网络组件!
这个小程序实现了:客户端线服务器的连接,服务器接受后根据客户的要求转发信息,从而实现多个客户端的交流!
这个程序的不足:由于时间仓促仅实现了核心功能,对于像qq那样的注册和管理客户信息都没有完善,但是我认为这与信息的发送是同理的,在以后有时间我会再继续学习完善的!
我的期待:希望大家能给我的程序提点意见,无论是从想法上,还是程序的风格上……只要您说,就是对我的帮助,我会感激不尽的!
使用的组件:IdTCPClient,IdTCPServer
-I Beginners network development, many of the right things is still valid, but the code is disgusting (not nausea :-)) of for! Because beginners often not allowed to grasp the core, a lack of common materials, the club said : Everything is hard in the beginning! The purpose of this procedure : The hope is to just start learning network development in a friend suggested 1:00! Basic understanding of the network development process! Delphi learning to use the network components! This small program : client server line connectivity, server customers after receiving the request forward, thereby number of client communication! The procedures are inadequate : only limited time to achieve a core functions, such as qq the registration and management of customer information is not perfect, but I thin
Platform: |
Size: 585728 |
Author: |
Hits:
Description: 多线程 网络传输
开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy)
传输协议:TCP/IP
客户端一次发送65000字节的包,服务端负责组装并处理数据粘连。
使用ReadBuffer(),Send()函数来接收发送Buffer内字节,这样作的目的是使程序具有更好的灵活性。你可以自定义Buffer内那些字节的含义,例如是字符串、图像、声音、命令等等。
文件的多线程读写采用windows内存映像技术。
关键的服务器处理函数IdTCPServer1Execute(AThread: TIdPeerThread)是非线程安全的。如果使用临界区,那么多线程将在这里串行执行,严重降低多线程效率。对此,我采用一个简单的办法,具体可以看程序。-multithreaded network transmission development environment : Delphi7.0 WinXP, useless other controls (except for the Delphi Indy own) transmission protocol : TCP/IP client to send a 65,000-byte packets, the server is responsible for assembling and processing data adhesion. Use ReadBuffer (), Send () function to receive this Buffer byte, for the purpose of this is to make procedures better flexibility. You can define Buffer byte within the meaning of those, such as strings, images, sounds, etc. order. The documents used to read and write multi-threaded windows memory mapping technology. Key server function IdTCPServer1Execute (AThread : TIdPeerThread) non-thread safe. If the use of critical areas, so many threads here on serial implementation, a serious decline in the efficiency of multit
Platform: |
Size: 69632 |
Author: 水滴 |
Hits:
Description: 网络TCP/IP编程,Delphi7编译通过,实现局域网、Internet上的聊天功能-network TCP/IP programming, Delphi7 compiler, LAN, on Internet chat
Platform: |
Size: 354304 |
Author: 林德 |
Hits:
Description: 在盒子里得到了这么多朋友无私的帮助,真的表示感谢!看到很多朋友在寻求多线程网络传输代码,为此,从我开发的网络棋牌游戏中整理出这个献给大家:)
开发环境:Delphi7.0+WinXP,没用其他控件(除了Delphi自带的Indy)
使用协议:TCP/IP
客户端一次发送65000字节的包,服务端负责组装并处理数据粘连。
使用ReadBuffer(),Send()函数来接收发送Buffer内字节,这样作的目的是使程序具有更好的灵活性。你可以自定义Buffer内那些字节的含义,例如是字符串、图像、声音、命令等等。
文件的多线程读写采用windows内存映像技术。
关键的服务器处理函数IdTCPServer1Execute(AThread: TIdPeerThread)是非线程安全的。如果使用临界区,那么多线程将在这里串行执行,严重降低多线程效率。对此,我采用一个简单的办法,具体可以看程序。-be in the box so many friends selfless help and really grateful! Many friends in the search for multi-threaded network transmission code, for from my development of the network and dominoes game sorted out the dedicated people :) development environment : Delphi7.0 WinXP, useless other controls (except for the Delphi Indy own) use agreement : TCP/IP client to send a 65,000-byte packets, the server is responsible for assembling and processing data adhesion. Use ReadBuffer (), Send () function to receive this Buffer byte, for the purpose of this is to make procedures better flexibility. You can define Buffer byte within the meaning of those, such as strings, images, sounds, etc. order. The documents used to read and write multi-threaded windows memory mapping technology. Key server functio
Platform: |
Size: 54272 |
Author: tom |
Hits:
Description: 使用INDY组件中TCP组件进行文件的收发-INDY components use TCP to send and receive files components
Platform: |
Size: 403456 |
Author: 吴昊 |
Hits:
Description: 轻巧的TCP 客户端与服务器端通讯测试套件.可以在两处分别安装客户端与服务器端,就可以测试TCP是否可以通讯了.采用了INDY的TCP套件完成-Lightweight TCP client and server-side communications test suite. Can be installed separately in the two client and server-side, you can test whether TCP can be a communication. INDY uses the TCP package completed
Platform: |
Size: 711680 |
Author: wuyu |
Hits:
Description: 此程序是利用DELPHI的INDY通讯控件来进行CLIENT端和SEVER端的通讯-This procedure is the use of DELPHI' s INDY communications CLIENT control to client and client communications SEVER
Platform: |
Size: 396288 |
Author: alan |
Hits:
Description: indy use of tcp client example
Platform: |
Size: 1024 |
Author: Shahriar |
Hits:
Description: 远程桌面显示~~~~基于indy tcp组件的-Remote Desktop shows ~ ~ ~ ~ indy tcp component-based
Platform: |
Size: 1723392 |
Author: xiao |
Hits:
Description: Allows you to connect your TCP application to a server and see the data being transmited back and forth. Requires the Indy TCP components.
Platform: |
Size: 19456 |
Author: ipsd |
Hits:
Description: Indy *Internet Direct* 9 components for communication TCP/IP (Delphi All versions)
Platform: |
Size: 2001920 |
Author: ljupco.sins |
Hits:
Description: Delphi的ModbusTcp开发控件,需要Indy支持,包括主站和从站的控件-he Delphi Modbus library is a Modbus Class I Delphi implementation of a Modbus
master and slave over TCP/IP (ModbusTCP). Serial I/O (RTU or ASCII) is not
supported.
Platform: |
Size: 245760 |
Author: 孙宏 |
Hits:
Description: TCP AdoServer/Client is a multi-tier tool to design a a thin client application
that connects to an application server. It is built using Indy components and ADO.
TCP AdoServer/Client is a simple and complete solution to develop and implement a
multi-tier applications.
Platform: |
Size: 855040 |
Author: cecilleyokose |
Hits:
Description: delphi的indy中tcpclient和tcpserver的即时通讯Demo,发现很不错。多学习局域网聊天很有帮助-The indy delphi tcpserver in tcpclient and instant messaging Demo, found very good. LAN chat and more helpful to learn
Platform: |
Size: 477184 |
Author: jie.li |
Hits:
Description: indy的官方例子,包含大量网络应用例子。(Indy's official examples include a large number of web applications.)
Platform: |
Size: 5749760 |
Author: 知夏 |
Hits: