[Twisted-Python] Telnet negotiation with Twisted

Lee Orsino lmorsino at gmail.com
Fri Dec 2 22:53:40 EST 2011


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?

Thanks!

On Fri, Dec 2, 2011 at 4:56 PM, <exarkun at twistedmatrix.com> wrote:

> On 2 Dec, 04:43 am, lmorsino at gmail.com wrote:
> >Hmmm. Do I need to do something with the enableRemote/enableLocal
> >methods
> >of TelnetTransport?
>
> Yes.  The default implementation of enableRemote does not allow any
> options to be enabled.  You must override it if you want the peer to be
> allowed to enable any options.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20111202/7f561dda/attachment.htm 


More information about the Twisted-Python mailing list