[SOLVED]IsConnecting flag is true forever
- nekokiller
- Posts: 24
- Joined: 23 Oct 2012, 10:13
[SOLVED]IsConnecting flag is true forever
Hi, Lapo:
I just download the SFS2X_API_CSharp_v1.1.0 and compare with v1.0.9.
There is a new strange problem: the IsConnecting flag will be true forever after first time connection success.
Even if we do disconnect(), after connection lost , the IsConnecting is still be true.
eh, I think this may be a bug.
I just download the SFS2X_API_CSharp_v1.1.0 and compare with v1.0.9.
There is a new strange problem: the IsConnecting flag will be true forever after first time connection success.
Even if we do disconnect(), after connection lost , the IsConnecting is still be true.
eh, I think this may be a bug.
Re: IsConnecting flag is true forever [v1.1.0]
Can you please explain:
1) How are you connected? Socket? Bluebox
2) The cause of disconnection? Manual? Kick? Abrupt network disconnection?
thanks
1) How are you connected? Socket? Bluebox
2) The cause of disconnection? Manual? Kick? Abrupt network disconnection?
thanks
- nekokiller
- Posts: 24
- Joined: 23 Oct 2012, 10:13
Re: IsConnecting flag is true forever [v1.1.0]
ok
1) Socket
2) Manual
1) Socket
2) Manual
Re: IsConnecting flag is true forever [v1.1.0]
Would you mind double checking that you are really using version 1.1.0?
Because I don't see anything out of order. I get the disconnection event, with reason = manual and the IsConnected returns False as expected.
Tested under Unity 3.5.7f6
Because I don't see anything out of order. I get the disconnection event, with reason = manual and the IsConnected returns False as expected.
Tested under Unity 3.5.7f6
- nekokiller
- Posts: 24
- Joined: 23 Oct 2012, 10:13
Re: IsConnecting flag is true forever [v1.1.0]
Oh, sure, I have print the version number of smart fox in the console, it shows 1.1.0Lapo wrote:Would you mind double checking that you are really using version 1.1.0?
Because I don't see anything out of order. I get the disconnection event, with reason = manual and the IsConnected returns False as expected.
Tested under Unity 3.5.7f6
Eh, you just said the 'IsConnected' returns False.
But what I said is the 'IsConnecting' flag, not the 'IsConnected' flag.
The IsConnected Flag works fine , but the IsConnecting flag.
Re: IsConnecting flag is true forever [v1.1.0]
IsConnecting is False as well.
I am testing with the Lobby example that we provide, calling SmartFox.Disconnect() to close the connection.
I am testing with the Lobby example that we provide, calling SmartFox.Disconnect() to close the connection.
- nekokiller
- Posts: 24
- Joined: 23 Oct 2012, 10:13
Re: IsConnecting flag is true forever [v1.1.0]
ok, let me double check again.
- nekokiller
- Posts: 24
- Joined: 23 Oct 2012, 10:13
Re: IsConnecting flag is true forever [v1.1.0]
Oh, Sorry, I found a mistake in my testing code.Lapo wrote:IsConnecting is False as well.
I am testing with the Lobby example that we provide, calling SmartFox.Disconnect() to close the connection.
There is no problem with v1.1.0.
Thanks.
Re: [SOLVED]IsConnecting flag is true forever
Excellent, thanks.