On Nov 20, 8:32 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Nov 20, 1:47 pm, oj <[EMAIL PROTECTED]> wrote:
>
> > On Nov 20, 12:26 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> > > Can you confirm that if you add the while loop back in, all messages
> > > are seen by the server? It worked for m
On Nov 20, 1:47 pm, oj <[EMAIL PROTECTED]> wrote:
> On Nov 20, 12:26 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
>
>
> > Can you confirm that if you add the while loop back in, all messages
> > are seen by the server? It worked for me.
>
> Yes, it works in that case. This was meant to be implied b
On Nov 20, 12:26 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> Can you confirm that if you add the while loop back in, all messages
> are seen by the server? It worked for me.
Yes, it works in that case. This was meant to be implied by my earlier
messages, but on reflection, isn't obvious.
As I
On Nov 20, 12:08 pm, oj <[EMAIL PROTECTED]> wrote:
> On Nov 19, 5:30 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 19, 10:27 am, oj <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 16, 2:31 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> > > Here is the server code. Pretty much directly copie
On Nov 19, 5:30 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Nov 19, 10:27 am, oj <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 16, 2:31 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> > Here is the server code. Pretty much directly copied from the example,
> > aside from not having the the handler
On Nov 19, 10:27 am, oj <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2:31 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
> Here is the server code. Pretty much directly copied from the example,
> aside from not having the the handler loop forever, and queing the
> records instead of dealing with the direc
On Nov 16, 2:31 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Nov 15, 3:23 pm, oj <[EMAIL PROTECTED]> wrote:
>
>
>
> > However, initially, I had tried it with a server that closed the
> > connection after receiving each record, and the SocketHandler doesn't
> > seem to behave as advertised.
>
> >
On Nov 15, 3:23 pm, oj <[EMAIL PROTECTED]> wrote:
> However, initially, I had tried it with a server that closed the
> connection after receiving each record, and the SocketHandler doesn't
> seem to behave as advertised.
>
> My test script was simply this:
>
[snip]
> The SocketHandler documentation
Hi folks,
I'm writing some fairly simple logging code that makes use of the
SocketHandler.
The example server code works fine, as expected. (http://
docs.python.org/lib/network-logging.html)
However, initially, I had tried it with a server that closed the
connection after receiving each record,