CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - network in delphi
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - network in delphi - List
[
WinSock-NDIS
]
Delphi_Indy通信组件深度开发
DL : 0
delphi indy的深入开发,有详细说明,一定满足你们的要求,主要是网络开发-the in-depth development of a detailed description, you must meet the requirements, mainly network development
Date
: 2008-10-13
Size
: 645.37kb
User
:
陈果
[
WinSock-NDIS
]
多线程网络传输
DL : 1
在盒子里得到了这么多朋友无私的帮助,真的表示感谢!看到很多朋友在寻求多线程网络传输代码,为此,从我开发的网络棋牌游戏中整理出这个献给大家:) 开发环境: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
Date
: 2008-10-13
Size
: 53.43kb
User
:
tom
[
WinSock-NDIS
]
Net_function
DL : 0
delphi在网络编程方面的一些常用函数,希望对大家能有帮助!-network programming in a number of commonly used function, we can hope to help!
Date
: 2008-10-13
Size
: 4.3kb
User
:
monkeylg
[
WinSock-NDIS
]
用Delphi实现远程控制
DL : 0
WinSock是一组API,用于在网络上传输数据和交换信息。虽然现在有很多工具如FTP 程序可以在网络上传输数据和文件,但是通过WinSock编程有更大的灵活性,它不需要关心网络连接的细节,不过用WinSock编程却很复杂。在Delphi中我们并不需要直接与 WinSock的API打交道,因为TClientSocket元件和TServerSocket元件(在Internet页)封装了WinSock的大部分API,使得对WinSock的访问大大简化。下面这个远程控制的例子就很清楚地说明了这个问题,它可以发送一个消息给对方,并能够使对方的电脑关闭、重新启动或重新登录。-WinSock API is a group for the transmission of data on the network and exchange information. Although there are now many tools such as FTP program on the network can transmit data and documents, but through WinSock greater programming flexibility, it does not need the care network connectivity details, but with WinSock very complicated programming. In Delphi, we do not need directly with the WinSock API deal because TServerSocket TClientSocket components and devices (in Internet pages) package of the most WinSock API, making the right WinSock visit greatly simplified. Following the example of the remote control very clear illustration of this problem, it can send a message to each other and to make each other's computers shut down, restart or re-logged.
Date
: 2008-10-13
Size
: 5.32kb
User
:
里平
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.