![]() |
ics check if client connected to server or not
hello , i uses ics client and server every thing is working smoothly now
iam trying to check if client connected to server or not or even if server is offline i try the following
Delphi-Quellcode:
when server is online i got message that the client connected to server . but if server offline i cant catch the error code nothing display to the memo even when i check if errcode <> 0 . how do i catch if client connected or not ?
procedure TForm1.ClientSessionConnected(Sender: TObject; ErrCode: Word);
begin if ErrCode <> 0 then display.Lines.Add('Cant connect to server. Error #' + IntToStr(ErrCode)) else display.Lines.Add('Connected to server.'); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:46 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz