Hello,
I haven’t found any solution on Google so I expose my issue here :
I’m trying to make blue box working with a simple web player demo, who is trying to connect to a SFS Pro, protected by a firewall.
On a standalone it’s working :
The first request to SFS Pro on the default port (9339) timed out, because I haven’t set an exception in my firewall, so it switch to bluebox. Then, the connection to bluebox works fine.
In a webplayer it’s an other history :
The first request is send, SFS says “Trying to connect”, and after nothing…no time out…
Here is my code for the connection :
void Awake() {
print("Start");
Security.PrefetchSocketPolicy(ip, port);
Security.PrefetchSocketPolicy(ip, blueboxport);
if( ! SmartFox.IsInitialized() ) {
try {
smartFox = SmartFox.Connection = new SmartFoxClient(debug);
smartFox.smartConnect = true;
smartFox.httpPort = blueboxport;
AddSfsEvent();
smartFox.Connect(ip, port);
}
catch (Exception e) {
errorMessage = e.ToString();
print( errorMessage);
}
}
}
Is anybody can help me?
Thanks,
Sennin