(Newbie) Help with sockets.

2008-02-28 Thread mentaltruckdriver
Hi everyone. I'm fairly new to Python, and even more new to socket programming. I think I've wrapped my head around sockets, and with that I want to create a Telnet-based chat server, the idea being people connect to the telnet servers with their clients and they all communicate. I've got the code

Re: (Newbie) Help with sockets.

2008-02-29 Thread mentaltruckdriver
On Feb 28, 11:22 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-02-29, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > > En Fri, 29 Feb 2008 00:20:26 -0200, <[EMAIL PROTECTED]> escribió: > > >> Hi everyone. I'm fairly new to Python, and even more new to socket > >> programming. I think I'v

Re: (Newbie) Help with sockets.

2008-02-29 Thread mentaltruckdriver
On Feb 29, 9:42 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-02-29, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >> You claim to be writing a telnet server, yet I don't see any > >> code that actually implements the telnet protocol. Different > >> telnet clients default to different m

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 t