Re: Python Telnet formatting?

2008-03-02 Thread Gabriel Genellina
En Sat, 01 Mar 2008 22:51:08 -0200, [EMAIL PROTECTED] escribi�: Hi everyone: I posted here a couple days ago looking for some help creating a Telnet-based chat server. You guys pointed me to Twisted, which has solved most of my issues. However, what I want to do is analyze strings received

Re: Python Telnet formatting?

2008-03-02 Thread Bjoern Schliessmann
Gabriel Genellina wrote: They are part of the telnet protocol; 0xFF (IAC=Interpret as Command) starts a two or three byte command sequence. Weren't you using telnetlib? It's supposed to handle this transparently. With Twisted you don't need Telnetlib, twisted.conch.telnet does the job. I

Re: Python Telnet formatting?

2008-03-02 Thread Grant Edwards
On 2008-03-02, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I posted here a couple days ago looking for some help creating a Telnet-based chat server. You guys pointed me to Twisted, which has solved most of my issues. And we told you that you needed to implement the telnet protocol. The

Re: Python Telnet formatting?

2008-03-02 Thread Jean-Paul Calderone
On Sat, 1 Mar 2008 16:51:08 -0800 (PST), [EMAIL PROTECTED] wrote: Hi everyone: I posted here a couple days ago looking for some help creating a Telnet-based chat server. You guys pointed me to Twisted, which has solved most of my issues. However, what I want to do is analyze strings received for

Python Telnet formatting?

2008-03-01 Thread mentaltruckdriver
Hi everyone: I posted here a couple days ago looking for some help creating a Telnet-based chat server. You guys pointed me to Twisted, which has solved most of my issues. However, what I want to do is analyze strings received for keywords such as 'listcmds' and have the server return something