Description: 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. Platform: |
Size: 5445 |
Author:里平 |
Hits:
Description: 用Tserversocket/Tclientsocket构件实现网络通信,除了在网内有些慢。其他都不错。是学习分析代码的好素材。-with Tserversocket/Tclientsocket network communication components, in addition to net some slow. Others are good. Learn to analyze code is a good material. Platform: |
Size: 4096 |
Author:田子桐 |
Hits:
Description: 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. Platform: |
Size: 5120 |
Author:里平 |
Hits:
Description: 一个使用TClientSocket控件的程序,抛砖引玉。发送,接收,选择服务器端口,IP地址。TCP-TClientSocket use of a control procedure, congregate. Send, receive, to choose the server port and IP address. TCP Platform: |
Size: 152576 |
Author:王鹏 |
Hits:
Description: HDSI3.0的源代码,由delphi编写,用于分析网站而用 BY教主-HDSI3.0 the source code from delphi to prepare for the analysis of web sites and is available BY guru Platform: |
Size: 823296 |
Author:张张 |
Hits:
Description: Components derived from TServerSocket and TClientSocket to implement a particular protocol. Function is based in defining a serie of valid protocol messages (TStrings) and responding to protocol events (messages of any of those valid types).
The idea is that every protocol message is a stream. You "start" communication by SendStream(PMess:string Stream:TStream), this will trigger a protocol event for that message that lets the receiver to respond by adding content to the output stream (of the event handler), if content is added to the answer, the result will be the same as if the receiver had SendStream() with the same message.
This way any protocol can be implemented in a simpler way than using raw TClientSocket and TServerSocket. Platform: |
Size: 3072 |
Author:David |
Hits:
Description: This a HEAVILY optimized version of Borland s
ScktComp unit.It works in exactly the same fashion
and supports all of it s Win32 functionality except
using only 10 of the original vcl overhead.
Also included is a TList, TStream and TThread class.
for console applications you should make an object
to contain your methods for socket events.
Refer to the delphi help file for information about
each of the different socket events!
Example program(22 KB compilied with Delphi 6)-This is a HEAVILY optimized version of Borland s
ScktComp unit.It works in exactly the same fashion
and supports all of it s Win32 functionality except
using only 10 of the original vcl overhead.
Also included is a TList, TStream and TThread class.
for console applications you should make an object
to contain your methods for socket events.
Refer to the delphi help file for information about
each of the different socket events!
Example program(22 KB compilied with Delphi 6) Platform: |
Size: 15360 |
Author:UnNamed053 |
Hits:
Description: Delphi 之TServerSocket和TClientSocket使用多线程进行文件传输例子-Delphi about TServerSocket and TClientSocket use thread transfer file Platform: |
Size: 503808 |
Author:mozc |
Hits:
Description: 在Delphi下,TClientSocket的使用技巧和方法(The skills and methods of using TClientSocket under Delphi) Platform: |
Size: 129024 |
Author:lhr1235
|
Hits: