Re: First steps problems
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Tue, 13 Mar 2007 15:05:24 +0100 (CET)
On Tue Mar 13 2007, Andreev Nikita wrote:
> Hi.
>
> > You can call MyClient->recv(0); This means that it returns immediately if
> > there is no data available. If you get a fatal error or disconnect, just
> > stop the timer.
> >
> > \Niels
>
> I suppose that I get "I\O Error" because another instance of Func()
> is called before previous is completed.

You need proper synchronization (e.g. using a mutex) when accessing a Client 
object from multiple threads.

cheers,
Jakob

Attachment: pgpUmD4tViEzl.pgp
Description: PGP signature