multiplayer - Appwarp fails to re-connect after user disconnects from the server (using cocos2d-x) -


I'm trying to work through connection issues at this level of the app writing process. When the user leaves the game board, I call ...

  zero hello :: ONIX () {isMultiPlayer = CCUserDefault :: shareUserDefault () - & gt; GetBoolForKey ("MULTIPLAYER", incorrect); If (IsMultiPlayer) {AppWarp :: Client :: getInstance () - & gt; Disconnect (); CCUserDefault :: shareUserDefault () - & gt; Setbull phoraki ("multi-player", wrong); } CCCCDR :: Shared Directive () - & gt; LateTouch deceptor () - & gt; Delete (this); CCLayer :: onExit (); }   

From here, if I try to rejoin the lobby then connect me at

 . Failed with unknown reason ... session = 0   

Error in my log file It seems that I have to wait about 5 minutes before this error disappears. Am I doing something wrong in my disconnected code, or is this type of behavior ideal?

@PWiggin - This issue has now been fixed in our SDK update. You can choose the latest release from our GIT repo here is the link

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -