Re: [Twisted-Python] Building a TCP server, having issues

2013-02-18 Thread Sofiane Akermoun
Hello, As wrote Phil Mayers LinReceiver is a nice protocol helpers for you. All the commands use a CRLF delimiter and for your logic it is easy to know when a command is fully received or if you need to wait for more data. As wrote Glyph dataReceived (or lineReceived) Should only use to received d

Re: [Twisted-Python] Building a TCP server, having issues

2013-02-18 Thread Phil Mayers
On 02/17/2013 01:09 AM, Adam Heller wrote: > Glyph, > > I will definately look into that. As far as the server spec, it's over > TOR (This part of the 'competition' has since closed, but feel free to > catch up: http://uncovering-cicada.wikia.com/wiki/Uncovering_Cicada_Wiki > and > http://mentalfl

Re: [Twisted-Python] Building a TCP server, having issues

2013-02-16 Thread Adam Heller
Glyph, I will definately look into that. As far as the server spec, it's over TOR (This part of the 'competition' has since closed, but feel free to catch up: http://uncovering-cicada.wikia.com/wiki/Uncovering_Cicada_Wiki and http://mentalfloss.com/article/31932/chasing-cicada-exploring-darkest-c

Re: [Twisted-Python] Building a TCP server, having issues

2013-02-16 Thread Glyph
On Feb 16, 2013, at 1:09 PM, Adam Heller wrote: > Guys, > I'll try to be as exact as I can be with my question, but it may end up being > pretty broad. (I'm also relatively new to python, please go easy on my code > although suggestions are of course welcome.) The main suggestion is "you can'