[Twisted-Python] Telnet negotiation with Twisted

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Dec 3 08:59:06 EST 2011


On 03:53 am, lmorsino at gmail.com wrote:
>Jean-Paul,
>
>Thanks for your response. I still can't get self.will(LINEMODE) to work 
>but
>I did get self.telnet_WILL(LINEMODE) to run without throwing an Error. 
>Can
>you elaborate on what needs to happen in the enableRemote? My 
>impression
>was that once I send the negotiation WILL command from server to the
>client, the client will respond with either a DO or a DONT. What 
>further
>logic is necessary?

I can't say what further logic is necessary, because I don't know what 
logic you have now.  The description of your code you gave above is a 
good introduction to an actual code listing (<http://sscce.org/>), but 
it's not sufficient on its own.

Jean-Paul



More information about the Twisted-Python mailing list