Autor Beitrag
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Mi 14.09.05 20:04 
Hi Leute,
ich benutze jetzt die IRC-Komponente von IRC und habe ein Programm geschrieben, was wie ein IRC-Bot einen IRC-Server überwachen kann und News filtert. Ich habe das Tool vorher auf einem Offline-IRC-Server (also per localhost) getestet und alles hat wunderbar funktioniert. Nun habe ich einfach den Host von "localhost" auf "irc.euirc.net" umgestellt (auf EUIrc soll er die News die er von einer Website abfängt, posten) und probiert zu connecten, aber es gibt einfach keine Verbindung! Ein Bekannter von mir hat es auch auf seinem Rechner (er hat DSL, ich Modem) probiert, aber es ging auch nicht! Der Code muss ja richtig sein, denn auf dem Localhost-IRC-Server hat es ja gefunzt!

Kennt jemand das Problem oder kennt jemand eine bessere IRC-Komponente?

MfG, ScorpionKing!

_________________
Aus dem Urlaub zurück!
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Mi 14.09.05 20:07 
Kommst du mit einem "normalen" IRC-Programm ins euirc-Netzwerk? Ich hatte da mal eine zeitlang Probleme, weil die bei mir keinen Hostnamen finden konnten...

_________________
JSXGraph
ScorpionKing Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Mi 14.09.05 20:08 
Mit mIRC geht es ohne Probleme! Ich habe auch versucht mal auf ienen anderen IRC-Server als irc.euirc.net zu connecten, war aber das gleiche Problem!

Ich habe das folgendermaßen aufgebaut:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
try irc.Connect();
box.Items.Add('Connected!');
except
box.Items.Add('Not connected!');
end;


Und es kommt immer "Not connected!" obwohl es mit mIRC geht!

_________________
Aus dem Urlaub zurück!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 14.09.05 20:16 
läuft das evtl unter einem anderen Port ?
funkt dir da eine Firewall dazwischen ?
lass dir mal die Errormessage der exception ausgeben !

also:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
try irc.Connect();
box.Items.Add('Connected!');
except
  on e:exception do begin
    showmessage (e.message);
    box.Items.Add('Not connected!');
  end;
end;

_________________
In the beginning was the word.
And the word was content-type: text/plain.
ScorpionKing Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Mi 14.09.05 20:18 
Ne, Firewall ist richtig konfiguriert! Und der Port ist 6667, worüber auch mIRC bei irc.euirc.net connected!

Der Bekannte hat es auch mit DSL getestet, bei dem ging es auch nicht!
Ich weiß nicht wodran das liegen kann! (Ich teste es mal mit der Exception, aber ich glaube da kommt nur "Connection timed out!" <-- das kam nämlich als ich den try-except-Block weggelassen habe)!

_________________
Aus dem Urlaub zurück!
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mi 14.09.05 20:27 
Verwendest du idIRC? Dann lass dir doch mal bei OnRecive anzeigen, welche Messages vom Server kommen.
Vielleicht ist es auch ein falscher Nick oder so.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Cyberaxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 89



BeitragVerfasst: Do 15.09.05 11:51 
Evtl. mal die IP von 'irc.euirc.net' beschaffen. Wenn Du Dich mit dem mIRC verbindest wird auch eine IP angezeigt auf dem Du dich gerade verbindest. Diese einfach mal anstatt des Namens nutzen. Könnte ja sein das die Komponente keine Namensauflösung kann.

_________________
Das Aufwachen aus einem boesen Traum muss einen nicht erleichtern. Es kann einen auch erst richtig gewahr werden lassen, was man Furchtbares getraeumt hat, vielleicht sogar welcher furchtbaren Wahrheit man im Traum begegnet ist!
ScorpionKing Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Do 15.09.05 14:07 
Ich habe ja schon Localhost eingegeben, da löst es den Namen auch auf! Da komische ist, dass die Komponente einmal funktioniert hat und seitdem nicht mehr!

EDIT: Ich habs grad mit der IP versucht! Geht auch nicht! (Connection Time Out, wie bei dem anderen!)

Kennt jemand denn eine andere IRC-Komponente?

_________________
Aus dem Urlaub zurück!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 15.09.05 16:46 
da muss irgendwas im eimer sein bei dir. denn der code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
irc.Host := 'irc.euirc.net';
try irc.Connect();
box.Items.Add('Connected!');
except
  on e:exception do begin
    showmessage (e.message);
    box.Items.Add('Not connected!');
  end;
end;

funktioniert einwandfrei !

_________________
In the beginning was the word.
And the word was content-type: text/plain.