I am using SFS 1.6.6
In my server extension, I am using ExtensionHelper.kickUser() to remove a user from the room, which works as expected. SFS Client debug out:
Code: Select all
[ RECEIVED ]: <msg t='sys'><body action='dmnMsg' r='0'><user id='1' /><txt><![CDATA[Game has stopped]]></txt></body></msg>, (len: 108)
[ RECEIVED ]: <msg t='sys'><body action='userGone' r='5'><user id='0' /></body></msg>, (len: 71)
[ RECEIVED ]: <msg t='sys'><body action='uCount' r='5' u='1' s='0'></body></msg>, (len: 66)
Client dispatches the onConnectionLost event then.
Problem is, after a few seconds (~5) the client reconnects using the BlueBox. SFS debug output says:
Socket connection failed. Trying BlueBox
[ Send ]: sfsHttp=connect
I want BlueBox fallback only in case my connect attempt fails. I don't want a client to reconnect on it's own, after I kick a user.
How can I disable this behavior?