Description: tcp测试程序,可以模拟服务器和客户端,并且可以用文本和2进制来看结果-tcp test procedure can be simulated server and client, and can use text and two-band view of the results Platform: |
Size: 204800 |
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: 在盒子里得到了这么多朋友无私的帮助,真的表示感谢!看到很多朋友在寻求多线程网络传输代码,为此,从我开发的网络棋牌游戏中整理出这个献给大家:)
开发环境: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: 一个做得还不错的远程控制程序,服务端、客户端做在一起-done a pretty good distance control procedures, server, the client do together Platform: |
Size: 416768 |
Author:cruise |
Hits:
Description: 本程序用来进行TCP通信的调试,程序包含了TCP服务器和客户端两个部分。
TCP服务器可以在指定的端口进行监听,并同时最多处理100个连接。实时显示每个连接发送过来的数据,并且可以手工选择需要对哪个连接回送数据,或者是断开某个连接。
TCP客户端可以对某个IP(或者直接输入域名)的端口进行连接,实时显示已经连接的服务器发送的信息,可以手动输入需要发送到服务器的内容。
这个程序在对一些自己编写的服务器或者客户端的程序进行调试的时候比较有用。-the procedures used for testing TCP communications, includes the TCP server and client in two parts. TCP server can be the designated port eavesdropping, and at the same time deal with a maximum of 100 links. Real-time display over each link this data, as well as the need to manually choose which link to send data, or disconnect a link. TCP client can be on a certain IP (or domain name directly input) port for connection, real-time display is already connected to the server to send messages manually input can be sent to the server needs of the content. In the process of the preparation of some of their server or client procedure debugging time more useful. Platform: |
Size: 46080 |
Author:feitianlove |
Hits:
Description: SocketToolSRC是SocketTool的Delphi源代码,里面实现了TCP Server,TCP Client,UPD广播,UDP组播,UDP等Socket功能. 还简单实现了一个Web服务器(http服务器)的代码。-SocketToolSRC is SocketTool the Delphi source code, which achieved a TCP Server, TCP Client, UPD broadcast, UDP Multicast, UDP, etc. Socket function. Also implements a simple Web server (http server) code. Platform: |
Size: 2251776 |
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: 一套Socket编程的控件,可以支持 Socket5和 httptunnle-FUNDAMENTALS is a collection of Delphi code libraries.
FUNDAMENTALS SOCKETS contains:
Sockets cWinSock.pas WinSock functions
cSocks.pas SOCKS4/5 functions
cSocketHostLookup.pas Socket host lookup class
cSockets.pas Base class for sockets
cSocketsTCP.pas Base class for TCP sockets
cSocketsTCPClient.pas Base class for TCP client sockets
cSocketsTCPServer.pas Base class for TCP server sockets
cSocketsUDP.pas Base class for UDP sockets
cTCPStream.pas TCP stream class
cTCPClient.pas TCP client component
cTCPServer.pas TCP server component
FUNDAMENTALS SOCKETS require FUNDAMENTALS UTILITIES (included). Platform: |
Size: 474112 |
Author:sail2000 |
Hits:
Description: delphi使用indyTCPserver client的客户端通过IP地址端口向服务器发送信息-delphi indyTCPserver client using the client IP address by sending information to the server port Platform: |
Size: 397312 |
Author:阿三 |
Hits:
Description: delphi 实现socket TCP 通讯,通过winsocke的封装,实现了WIN API socket通讯
代码通过EXE的Server端,client端来实现TCP通讯,并封装了DLL;避免了Delphi自带
的soket控件在Dll中无法收到消息的问题。-delphi socket TCP communication to achieve, through winsocke package to achieve the WIN API socket communication through the EXE of the Server-side code, client side to achieve TCP communication, and package the DLL avoid soket control that comes with Delphi can not be received in the Dll message problem. Platform: |
Size: 1378304 |
Author:daihongwei |
Hits:
Description: tcp内网代理客户端,可使得不具备外网端口的机品具备外网服务功能-tcp proxy client within the network, can Debu machine with external network port with the external network services products Platform: |
Size: 214016 |
Author:舟自横 |
Hits: