On 08:49 pm, filoufake-pyt...@yahoo.fr wrote: >Hello, > >Thanks to your help, the server now requests a username and password >for the authentication. >Once the password has been enterred, nothing happened on the client >side. I'm even not able to escape from the client. I have to ctrl-c in >the server console. >If I well understood the doc, for each state of the connection a method >is called: telnet_User called when state = 'User', telnet_Password >called when state = 'Password' and at the end telnet_Command (to be >written by me). >I have added my "telnet_Command" method into my ITelnetProtocol >implementation return by requestAvatar, but it is never called. >In the telnet_Password method, the deferred calls _cbLogin in case of >good authentication or _ebLogin. >I could verify that _cbLogin is well called but it seems the >application blocks in.
It's hard to say what's going wrong without being able to see all of the code. A short, self contained, correct example (<http://sscce.org/>) would help a lot. Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python