Search found 6 matches

by nguyenman999
22 Oct 2015, 07:30
Forum: SFS2X Java / Android API
Topic: sfs2x.client.core.SFSIOHandler
Replies: 3
Views: 7435

Re: sfs2x.client.core.SFSIOHandler

Thanks for your quickly response! My current platform I'm working on is Android and I used android API of smartfox client. Yah, you're alright, it's a debug info when I'm running my app on the phone, the debug info log out in Eclipse IDE. My current problem that I have is: "lag when i test on s...
by nguyenman999
22 Oct 2015, 04:46
Forum: SFS2X Java / Android API
Topic: sfs2x.client.core.SFSIOHandler
Replies: 3
Views: 7435

sfs2x.client.core.SFSIOHandler

Why do i see system log error when i receive data from server, I seem a little bit lag when I receive data on phone. And the system log show that: sfs2x.client.core.SFSIOHandler
by nguyenman999
23 Mar 2015, 09:34
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13317

Re: Crash when connection retry

Thanks for your response my issue! I have find out my problems. My app freeze because when connection lost i try to make new request to connect to server (at that time network adapter was disable) so that request is pending and block IO because smartfox have no event back when connection cannot esta...
by nguyenman999
12 Mar 2015, 08:27
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13317

Re: Crash when connection retry

Hi! I also use this code to check in case we have wifi on it work correctly, But in case wifi off app also freeze in dispose method. if (smartFox) { CCLOG("disconnectToServer: smartFox->Dispose() start"); smartFox->Disconnect(); smartFox->Dispose(); // App freeze here when we don't have ne...
by nguyenman999
11 Mar 2015, 03:59
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13317

Re: Crash when connection retry

Hi, Thanks for your help, After apply this code the problem 1 is gone. But I have another issue with problem 2 when I dispose smartfox instance. When I call dispose function of smartfox instance it happen others 2 problems: - App crash at function processEvent() for (iterator = events.begin() ; iter...
by nguyenman999
09 Mar 2015, 09:32
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13317

Crash when connection retry

Hi All! I have 2 problems with smartfox connection: 1. App crash when smartfox connection retry: void SmartFox::SendHandshakeRequest(bool isReconnection) { boost::shared_ptr<HandshakeRequest> req (new HandshakeRequest(*this->Version(), isReconnection ? *sessionToken : "", *clientDetails));...

Go to advanced search