[Twisted-Python] Simple Telnet Client - couldn't get answer form server
ajchos at wp.pl
Thu Aug 4 09:48:08 EDT 2005
I try to get from standard telnet server answer. I connect to this
server, and now dataReceived() should give me a full answer from server
Ret Hat Linux relase: ... login:, but it does not.
I would like to know how to connect to this server and grab this data.
dataReceived gives me something like that: #'
(translation in telnet codes: IAC DO TERMINAL_TYPE IAC DO SPEED IAC DO
X_DISPALY_LOCATION IAC DO NEW_ENVI_OPTION ((hex)FF FD 18 FF FD 20 FF FD
23 FF FD 27)). What should I do with this. I try to transport a answers
for this questions. Maybe i got a mistake in code, somthing i do in
wrong way? Code I working on in attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1724 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20050804/a4316b79/attachment.py
More information about the Twisted-Python