Thema: Delphi Frage zu Telnet

Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.005 Beiträge
 
Delphi 2009 Professional
 
#8

AW: Frage zu Telnet

  Alt 21. Sep 2012, 13:01
Öhm, noch ne "dumme" frage hinterher. Das IndyTelnet kann das alles nicht, oder? Da müsste ich das denn auch "zufuss" machen, richtig?
Definiere "alles"

In IdTelnet.pas sehe ich einige Konstanten, die das Protokoll betreffen. Indy Telnet liefert aber keine GUI mit, daher werden Optionen wie "Window Size" in der Komponente nicht behandelt.

Es ist aber eine komplette "Verhandlung" (Negotiation) der Sitzungsparameter vorhanden, in die man sich einklinken kann.


Delphi-Quellcode:
{ These are the telnet command constansts from RFC 854 }
  TNC_EOR = $EF; // End of Record RFC 885
  TNC_SE = $F0; // End of subnegotiation parameters.
  TNC_NOP = $F1; // No operation.
  TNC_DATA_MARK = $F2; // The data stream portion of a Synch.
                                  // This should always be accompanied
                                  // by a TCP Urgent notification.
  TNC_BREAK = $F3; // NVT character BRK.
  TNC_IP = $F4; // The function IP.
  TNC_AO = $F5; // The function ABORT OUTPUT.
  TNC_AYT = $F6; // The function ARE YOU THERE.
  TNC_EC = $F7; // The function ERASE CHARACTER.
  TNC_EL = $F8; // The function ERASE LINE.
  TNC_GA = $F9; // The GO AHEAD signal.
  TNC_SB = $FA; // Indicates that what follows is
                                  // subnegotiation of the indicated
                                  // option.
  TNC_WILL = $FB; // Indicates the desire to begin
                                  // performing, or confirmation that
                                  // you are now performing, the
                                  // indicated option.
  TNC_WONT = $FC; // Indicates the refusal to perform,
                                  // or continue performing, the
                                  // indicated option.
  TNC_DO = $FD; // Indicates the request that the
                                  // other party perform, or
                                  // confirmation that you are expecting
                                  // the other party to perform, the
                                  // indicated option.
  TNC_DONT = $FE; // Indicates the demand that the
                                  // other party stop performing,
                                  // or confirmation that you are no
                                  // longer expecting the other party
                                  // to perform, the indicated option.
  TNC_IAC = $FF; // Data Byte 255.

...
Michael Justin
habarisoft.com
  Mit Zitat antworten Zitat