On Sunday January 27 2008, Bob wrote:
> I am using gloox on openbsd with a small configuration (500 MHz processor).
> Creating a client uses 100% CPU (version 0.9.9.3).
> I have looked in the code and found this function :
Hi,
Using non-blocking connect() with recv()'s default timeout (-1) should help
here:
if( client->connect( false ) )
{
ConnectionError ce = ConnNoError;
while( ce == ConnNoError )
{
ce = client->recv();
}
}
cheers,
Jakob
Attachment:
signature.asc
Description: This is a digitally signed message part.