Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi IdIRC Anmeldung ins Quakenet (PING PONG) Registrierung (https://www.delphipraxis.net/60943-idirc-anmeldung-ins-quakenet-ping-pong-registrierung.html)

dorisdoloris 14. Jan 2006 16:16


IdIRC Anmeldung ins Quakenet (PING PONG) Registrierung
 
Hallo ihr lieben da wäre mal wieder ein Problem zu lösen g

Wenn ich mich mit dem Quakenet verbinden will klappt dieses nicht durch die PING Registrierung. Ich habe es versucht so zu lösen. Die richtige Pingnummer bekomme ich aber die Registrierung klappt nicht vielleicht habt ihr ja eine Lösung.

Delphi-Quellcode:

//------------------------------------------
function PingPong: Integer;
begin

// richtige Ping Registrierungszahl finden

if (Pos('PING :',sPruefe) > 0 ) Then
begin

Delete(sPruefe, 1, Pos('PING :',sPruefe)+5);

IdIRC1.Raw('PONG' + ' ' + sPruefe);

end; //end if

end; //end function
//------------------------------------------



procedure TForm3.IdIRC1Raw(Sender: TObject; AUser: TIdIRCUser; ACommand,AContent: String; var Suppress: Boolean);
begin

sPruefe := ACommand + ' ' + AContent; // Command PING + Zahl an "sPrüfe" übergeben

PingPong(); // Funktion Zahl suchen und PONG senden

end;

lg: doris

dorisdoloris 15. Jan 2006 10:46

Re: IdIRC Anmeldung ins Quakenet (PING PONG) Registrierung
 
hat denn keiner von euch dazu eine Idee?

lg: doris


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:29 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz