Autor Beitrag
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Mi 11.03.09 14:26 
Moin Forum,

ich versuche gerade eine Kommunikation per TCP/IP unter D2007 aufzubauen.

Unter D5 hatte ich in meinem ServerSocket ein Ereignis OnClientDisconnect:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.ServerSocket1ClientDisconnect(Sender: TObject;Socket: TCustomWinSocket);
begin
  ...do something...
end;


aber so etwas fehlt mir jetzt bei diesem TCPServer unter D2007. Wie bekomme ich denn jetzt mit, daß sich ein Client verabschiedet hat?

Gruß jjturbo

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Mi 11.03.09 15:23 
Hi,Problem gelöst.
Ich habe jetzt nicht die Komponente aus der Palette genommen, sondern habe sie mir mit TServerSocket.Create zur Laufzeit erstellt.

Dank Euch
jjturbo

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...