I try to call my update function again,but the programe will crash!
void update()
{
buzz::XmppClient* xmppClient = NULL;
xmppClient = TestClass.GetXmppclient();
if (xmppClient == NULL){
printf("xmppClient is null\n");
return -1;
}
printf("start to update my status =%p\n",xmppClient);
buzz::Status status;
status.set_jid(xmppClient->jid());
status.set_available(true);
status.set_show(buzz::Status::SHOW_ONLINE);
status.set_priority(0);
status.set_know_capabilities(true);
status.set_phone_capability(true);
status.set_is_google_client(true);
status.set_version("1.0.0.66");
buzz::PresenceOutTask* p =
new buzz::PresenceOutTask(xmppClient);
p->Send(status);
p->Start();
}
On 12月19日, 下午4时14分, lbtianya <[email protected]> wrote:
> libjingle cant restore the connect with googletalk server,after i have
> disconncted the network for 1 minute,
>
> so if the network is bad for 1 minute,i will cant dial out .
>
> how can i restore the connect?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---