Re: First steps problems
From: Niels Sandholt Busch <niels.busch@xxxxxx>
Date: Mon, 12 Mar 2007 10:54:36 +0100 (CET)
On Monday 12 March 2007 10:10, Andreev Nikita wrote:
>
> If I write "cl->connect(true)" I see "Connect" message and application
> hangs! If I write "cl->connect(false)" application works fine but I
> never receive neither "Connect" message nor "Disconnect".
>
> What is wrong?
>

When using cl->connect(false), you need to call cl->recv() once in a while to 
receive data. cl->connect(true) is a blocking function, so you never return 
to the wxwidget event loop. That's why it's hanging.

\Niels