On Aug 5, 6:18 pm, Josiah Carlson <[EMAIL PROTECTED]> wrote:
>
> Giampaolo already offered up some information, but I will offer these
> two little tidbits:
> In your first client, your handle_read doesn't handle the case where
> you have received multiple packets at one time. That is, imagine tha
On Jul 29, 4:09 am, Frank Millman <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have been using my own home-brewed client/server technique for a
> while, using socket and select. It seems to work ok. The server can
> handle multiple clients. It does this by creating a new thread for
> each connection.
On Jul 31, 10:39 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> On 31 Lug, 08:30, Frank Millman <[EMAIL PROTECTED]> wrote:
>
>
> I don't know why you find more convenient running asyncore.loop in a
> separate thread but if your purpose is writing a test suite in which a
> client checks respon
On 31 Lug, 08:30, Frank Millman <[EMAIL PROTECTED]> wrote:
> On Jul 30, 7:50 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
>
> > On 30 Lug, 09:49, Frank Millman <[EMAIL PROTECTED]> wrote:
>
> Thanks again, Giampaolo, your input is really appreciated.
>
>
>
> > I pretty much have the same overv
On Jul 30, 7:50 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> On 30 Lug, 09:49, Frank Millman <[EMAIL PROTECTED]> wrote:
>
Thanks again, Giampaolo, your input is really appreciated.
>
> I pretty much have the same overview I had before.
> As far as I can tell the only reason you want to us
On 30 Lug, 09:49, Frank Millman <[EMAIL PROTECTED]> wrote:
> On Jul 29, 3:40 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
>
> > On 29 Lug, 13:09, Frank Millman <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply, Giampaolo.
Glad to help.
> > The benefit of asynchat is that it automatically
On Jul 29, 3:40 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> On 29 Lug, 13:09, Frank Millman <[EMAIL PROTECTED]> wrote:
Thanks for the reply, Giampaolo.
>
> The benefit of asynchat is that it automatically handles the buffering
> of both input and output.
> Aside from set/found_terminator
On 29 Lug, 13:09, Frank Millman <[EMAIL PROTECTED]> wrote:
> Firstly, having got asyncore working, I had a look at asynchat. As far
> as I can see I get very little benefit from using it. I have already
> set up a 'messaging' protocol between server and client, where all
> messages consist of 5 di
Hi all
I have been using my own home-brewed client/server technique for a
while, using socket and select. It seems to work ok. The server can
handle multiple clients. It does this by creating a new thread for
each connection. Each thread runs its own select loop.
I am making some fairly big chang