文件名称:Delphi_424638
介绍说明--下载内容均来自于网络,请自行研究使用
Delphi:Delphi环境下基于idtcpserver断开与连接客户端,当客户端主动与服务端断开时,idtcpserver事件Disconnect能够接到消息,当客户端主动与服务端连接时,idtcpserver事件Connect能够接到消息。但是存在问题:当服务端断开客户端连接数,IdTCPClient事件Disconnected接不到到消息,只有客户端主动与服务端断开时IdTCPClient事件Disconnected才接到消息,烦请高人们支招。
实例中还涉及到idtcpserver最大连接数在程序中如何控制的解决方法。
-Delphi: Delphi environment based idtcpserver disconnect the client when the client is disconnected from the server-side initiative, idtcpserver event Disconnect able to receive the message, when the client and server to connect initiative, idtcpserver Connect event messages can be received . But there is a problem: When the server is disconnected client connections, IdTCPClient event Disconnected not receive the message, only the client and server is disconnected when the initiative IdTCPClient event Disconnected before receiving the news, I beg you high people Weapon.
Example also involves solutions idtcpserver maximum number of connections in the program how to control.
实例中还涉及到idtcpserver最大连接数在程序中如何控制的解决方法。
-Delphi: Delphi environment based idtcpserver disconnect the client when the client is disconnected from the server-side initiative, idtcpserver event Disconnect able to receive the message, when the client and server to connect initiative, idtcpserver Connect event messages can be received . But there is a problem: When the server is disconnected client connections, IdTCPClient event Disconnected not receive the message, only the client and server is disconnected when the initiative IdTCPClient event Disconnected before receiving the news, I beg you high people Weapon.
Example also involves solutions idtcpserver maximum number of connections in the program how to control.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Code\delphi\pudn\upandload\DATA\Delphi_424638\Delphi_424638\idtcpserver断开与连接客户端\idtcpserver的最大连接数在程序中如何控制 .txt
....\......\....\.........\....\.............\.............\rd.txt
....\......\....\.........\....\.............\.............\idtcpserver断开与连接客户端\说明.txt
....\......\....\.........\....\.............\.............\...........................\服务端\Project1.cfg
....\......\....\.........\....\.............\.............\...........................\客户端\Project1.cfg
....\......\....\.........\....\.............\.............\...........................\......\Unit1.dcu
....\......\....\.........\....\.............\.............\...........................\服务端\Unit1.dcu
....\......\....\.........\....\.............\.............\...........................\......\Unit1.ddp
....\......\....\.........\....\.............\.............\...........................\客户端\Unit1.ddp
....\......\....\.........\....\.............\.............\...........................\......\Unit1.dfm
....\......\....\.........\....\.............\.............\...........................\服务端\Unit1.dfm
....\......\....\.........\....\.............\.............\...........................\......\Project1.dof
....\......\....\.........\....\.............\.............\...........................\客户端\Project1.dof
....\......\....\.........\....\.............\.............\...........................\服务端\Project1.dpr
....\......\....\.........\....\.............\.............\...........................\客户端\Project1.dpr
....\......\....\.........\....\.............\.............\...........................\......\Unit1.pas
....\......\....\.........\....\.............\.............\...........................\服务端\Unit1.pas
....\......\....\.........\....\.............\.............\...........................\......\Project1.res
....\......\....\.........\....\.............\.............\...........................\客户端\Project1.res
....\......\....\.........\....\.............\.............\...........................\服务端
....\......\....\.........\....\.............\.............\...........................\客户端
....\......\....\.........\....\.............\.............\idtcpserver断开与连接客户端