BlueBox is not work for js client?
Posted: 18 Jan 2018, 09:39
js client:
When I change wifi , connect will be lost.
c++ client:
Use bluebox ,change wifi, everything is fine
Help~
*********
http://docs2x.smartfoxserver.com/GettingStarted/bluebox
http://docs2x.smartfoxserver.com/api-do ... rtFox.html
Example
This example instantiates the SmartFox class passing a configuration object.
function init()
{
// Create configuration object
var config = {};
config.host = "127.0.0.1";
config.port = 8080;
config.useSSL = false;
config.zone = "BasicExamples";
config.debug = false;
// Create SmartFox client instance
sfs = new SFS2X.SmartFox(config);
}
When I change wifi , connect will be lost.
c++ client:
Use bluebox ,change wifi, everything is fine
Help~
*********
http://docs2x.smartfoxserver.com/GettingStarted/bluebox
http://docs2x.smartfoxserver.com/api-do ... rtFox.html
Example
This example instantiates the SmartFox class passing a configuration object.
function init()
{
// Create configuration object
var config = {};
config.host = "127.0.0.1";
config.port = 8080;
config.useSSL = false;
config.zone = "BasicExamples";
config.debug = false;
// Create SmartFox client instance
sfs = new SFS2X.SmartFox(config);
}