Ok now it works. The error I was getting before was an exception from my worker class. So to recap, this change makes it work.
//assert(client->task != NULL);
if ( client->task != NULL ) { client->task->recv= &(client->con->packet); }
Ok now it works. The error I was getting before was an exception from my worker class. So to recap, this change makes it work.
//assert( client- >task != NULL);
if ( client->task != NULL ) { >task-> recv= &(client- >con->packet) ;
client-
}