Autor Beitrag
Böner
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 39

Win Xp, Win 98, Linux 8.2
D3 Prof + D6 Pers
BeitragVerfasst: Mo 28.03.05 12:17 
Hi,

ich habe einen fli4l-Router(falls den jemand kennt ^^) und da kann ich unter WinXP in der Konsole mit dem Befehl "telnet *Router-IP* 5001" den letzten Anruf abfragen (der wird dann einfach angezeigt) und da dachte ich mir das geht doch auch über ein Delphi Prog...

ich hab jetzt folgenden Quelltext:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
 ClientSocket1.Address := 'Router-IP';
 ClientSocket1.Port := 5001;
 ClientSocket1.Active := true;
 edit1.Text := ClientSocket1.Socket.ReceiveText;


aber es funzt nicht... es wird nichts empfangen...

Hat jemand ne Idee was falsch ist ? Kann ich das überhaupt so machen ?

gruß böner

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mo 28.03.05 12:20 
clientsocket.open!!! ist das zauberwort

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
Böner Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 39

Win Xp, Win 98, Linux 8.2
D3 Prof + D6 Pers
BeitragVerfasst: Mo 28.03.05 12:28 
das steckt doch eigentlich schon im active:=true... aber auch mit open funzt es nicht... es kommt einfach nichts an...
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mo 28.03.05 12:38 
dann liegt der fehler wo anders

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.