On Mon Apr 2 2007, Federico Rossi wrote:
> thanks Jakob...
> but I have the same behaviour even with the following code:
>
> void account_logout()
> {
> if (j){
> j->disconnect();
> delete( j );
> }
> }
>
> Where is the mistake?
You should probably wait until after connect() returned (for blocking
connect()), or the loop that calls recv() terminated (for non-blocking
connect()).
Also, can you please try latest trunk?
cheers,
Jakob
Attachment:
pgp0z3SZc6tMC.pgp
Description: PGP signature