Odd Behavior when Connecting to my Program

后端 未结 2 573
刺人心
刺人心 2021-01-19 05:19

I\'m using Twisted to implement a server, of sorts. When I test it, the first line it receives is always strange:

Starting Server...
New connection from  19         


        
2条回答
  •  心在旅途
    2021-01-19 05:57

    You can find an explanation of the "ÿûÿû mystery" here. Short form: telnet is not a simple protocol, and what you're seeing is a trace of a telnet negotiation (trying to) occur with a server that doesn't speak "telnettese";-). Good guess about "is this a telnet protocol I'm missing";-)

    The RFCs involved in defining the telnet protocol are linked from this page, if you want to debug further. I'm no putty expert so I don't know how to tell putty to avoid this negotiation (and act like the good old simple Unix telnet client;-).

提交回复
热议问题