Autor Beitrag
sonic159
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 76

Windows XP
BDS 2006 Professional
BeitragVerfasst: Sa 22.07.06 17:15 
Hallo!

Ich arbeite gerade an einem kleinen Teamspeak 2 Tool!
Und habe eine frage!

Wie kann ich die Server antwort empfangen und in ein Memo schreiben?

MfG: sonic159
P.S.: Ich benutze den IdTCPClient komponent!
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mo 24.07.06 13:28 
Sorry aber ich muss nochmal nachfragen, da deine Beschreibung reichlich knapp ausgefallen ist. Was willst du jetzt konkret machen? Dich in das Teamspeak-Protokoll reinhängen?

Laut Suche in Wikipedia TEAMSPEAK ist das Protokoll nicht zugänglich. Dein einziger Ansatzpunkt wäre demzufolge der TS-Client (Oberfläche,Speicher,...).
sonic159 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 76

Windows XP
BDS 2006 Professional
BeitragVerfasst: Fr 28.07.06 14:04 
Ich will ein TELNET Tool entwickeln....
Und benutze die IdTCPClient komponente!

Code zum einloggen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
....
begin
  with IdTCPClient1 do begin
    Host := Edit1.Text;           // IP-Addresse zuweissen
    Port := IntToStr(Edit3.Text); // TCP-Port zuweissen
    Connect();                    // Verbinden, und hier wird normal schon ein "[TS]" raus gegeben, und das soll ins Memo1
    WriteLn('SEL ' + Edit2.Text); // Server ausgewählt, wenn er exestiert wird "OK" ausgegeben, soll auch ins Memo1
    WriteLn('SLOGIN ' + Edit4.Text + Char(32) + Edit5.Text); // Als Superadmin eingelogt wenn die daten stimmen das kommt wieder ein "OK" das soll auch ins Memo1
    {...}
  end;
end;


MfG: sonic

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Fr 28.07.06 14:34 
Was ist deine konkrete Frage?

Edit: uups, wer schlau ist, leist den erste Beitrag in so einem Fall nochmal durch....
Ich muss jetzt leider weg, wenn ich Zeit hab antworte ich nochmal, falls kein anderer mir zuvorkommt.
Die Lösung kannst du aber sicher auch einigen Codeschnipseln aus der CodeLib der DP entnehmen. Schau mal danach, bye

_________________
Programmers never die, they just GOSUB without RETURN


Zuletzt bearbeitet von alias5000 am Fr 28.07.06 14:39, insgesamt 1-mal bearbeitet
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Fr 28.07.06 14:35 
Moin!

Bitte denk an die Forumsregel: nur eine Frage pro Thread! ;) Gibt sonst nur Chaos... :?

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.