文件名称:P2Pwenjianchuanshu
介绍说明--下载内容均来自于网络,请自行研究使用
利用TCP协议连接双方,服务器端建立文件流读入待发送文件进入监听状态,客户端发送信号开始传输,服务器根据客户端发送的当前文件流传输位置按接收缓冲区大小一块一块的发送给客户端,客户端接受后再保存到接收文件流,直到整个文件流发送完毕,这里服务器端使用TIdTCPServer组件,客户端对应的使用TIdTCPClient组件。-Using TCP protocol to connect the two sides, the establishment of server-side file stream to send the file to be read into the listening state, the client send the signal to start transmission, the server in accordance with the client to send the current file position by receiving streaming buffer size of a piece sent to the client client to accept a document and then save it to the receiving stream, until the end to send the entire document flow, where the use of server-side TIdTCPServer components, corresponding to the use of client-side components TIdTCPClient.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Source
......\Client
......\......\Client.cfg
......\......\Client.dof
......\......\Client.dpr
......\......\Client.exe
......\......\Client.res
......\......\U_Client.dcu
......\......\U_Client.ddp
......\......\U_Client.dfm
......\......\U_Client.pas
......\ProjectGroup1.bpg
......\Server
......\......\Backup
......\......\......\00_Server.dpr
......\......\......\00_U_Server.pas
......\......\......\01_Server.dpr
......\......\......\01_U_Server.pas
......\......\......\02_Server.dpr
......\......\......\02_U_Server.pas
......\......\......\03_Server.dpr
......\......\......\03_U_Server.pas
......\......\......\04_U_Server.pas
......\......\......\05_U_Server.pas
......\......\......\06_U_Server.pas
......\......\Server.cfg
......\......\Server.dof
......\......\Server.dpr
......\......\Server.exe
......\......\Server.res
......\......\U_Server.dcu
......\......\U_Server.ddp
......\......\U_Server.dfm
......\......\U_Server.pas
......\......\U_Server.~ddp
......\......\U_Server.~dfm
......\......\U_Server.~pas
网络文件传输.doc
......\Client
......\......\Client.cfg
......\......\Client.dof
......\......\Client.dpr
......\......\Client.exe
......\......\Client.res
......\......\U_Client.dcu
......\......\U_Client.ddp
......\......\U_Client.dfm
......\......\U_Client.pas
......\ProjectGroup1.bpg
......\Server
......\......\Backup
......\......\......\00_Server.dpr
......\......\......\00_U_Server.pas
......\......\......\01_Server.dpr
......\......\......\01_U_Server.pas
......\......\......\02_Server.dpr
......\......\......\02_U_Server.pas
......\......\......\03_Server.dpr
......\......\......\03_U_Server.pas
......\......\......\04_U_Server.pas
......\......\......\05_U_Server.pas
......\......\......\06_U_Server.pas
......\......\Server.cfg
......\......\Server.dof
......\......\Server.dpr
......\......\Server.exe
......\......\Server.res
......\......\U_Server.dcu
......\......\U_Server.ddp
......\......\U_Server.dfm
......\......\U_Server.pas
......\......\U_Server.~ddp
......\......\U_Server.~dfm
......\......\U_Server.~pas
网络文件传输.doc