Hello!
I'm using SFS with BlueBox. When server can not be reached, SF Client tries to connect via BlueBox and, of course, connection fails (no connection available) flash client does not fire onConnection event.
I looked through the code of HttpConnection.as and noticed commented code at line 146 in method handleResponse of class HttpConnection:
/*
else
{
// fire error
classRef.handleIOError("I/O error: null response from server")
}
*/
When i discommented this line of code everything works fine.
Why did you comment this code? Is there any reason or just a bug?
Thanx for the answer.
HttpConnection.as - comented code problem
Here is the code from the API for AS 2 for sfs pro 1.6
Maybe you're using older version of the API.
Code: Select all
else
{
// If not already connected -> BlueBox connection failure.
if (!classRef.connected)
classRef.handleIOError("I/O error: null response from server")
}
Maybe you're using older version of the API.
Thanx. This problem was really fixed in 1.6.1 and i'm still using 1.6.0.
http://www.smartfoxserver.com/products/ ... 1_6_2.html
Upgrading...
http://www.smartfoxserver.com/products/ ... 1_6_2.html
Upgrading...
Who is online
Users browsing this forum: No registered users and 42 guests