Re: Help: asyncore/asynchat and terminator string

2007-01-17 Thread Gabriel Genellina
At Tuesday 16/1/2007 20:05, David Hirschfield wrote: I'm implementing a relatively simple inter-application communication system that uses asyncore/asynchat to send messages back and forth. The messages are prefixed by a length value and terminator string, to signal that a message is incoming,

Re: asyncore/asynchat and terminator string

2007-01-17 Thread Hendrik van Rooyen
"David Hirschfield" <[EMAIL PROTECTED]> wrote: 8< --- problems on syncing up in serial comms - I have seen people address this with success by using stuff like: "XXHEADERXX" as a "here starts the lesson" identifier, with no trouble, on a high volume newsfeed. If yo

Help: asyncore/asynchat and terminator string

2007-01-16 Thread David Hirschfield
I'm implementing a relatively simple inter-application communication system that uses asyncore/asynchat to send messages back and forth. The messages are prefixed by a length value and terminator string, to signal that a message is incoming, and an integer value specifying the size of the messa