Unity v : 4.6.0f3
Smarfox v : 1.5.5.0
Windows Phone build target : 8.0
When i try to call smartfox.Disconnect() , I got this error; (No problem in Android , IOS only occur this error Windows Phone)
[SFS - ERROR] TCPSocketLayer: General error reading data from socket: One or more errors occurred. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Sfs2X.Net.NetworkStream.Read(Byte[] Buffer, Int32 Offset, Int32 Len)
at Sfs2X.Core.Sockets.TCPSocketLayer.Read()
Unity Windows Phone Disconnect Function Error
-
Eser Telekom
- Posts: 25
- Joined: 16 Oct 2014, 07:28
- Location: Istanbul
- Contact:
Re: Unity Windows Phone Disconnect Function Error
We are not able to reproduce this issue. Can you please retest with the latest version of the API we released a few minutes ago? (see your other post: http://forums.smartfoxserver.com/viewto ... 20&t=17676)
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
Eser Telekom
- Posts: 25
- Joined: 16 Oct 2014, 07:28
- Location: Istanbul
- Contact:
Re: Unity Windows Phone Disconnect Function Error
Same error occur on new 1.5.6.0 smartfox dlls .
Re: Unity Windows Phone Disconnect Function Error
We tested the disconnection using a simple example: click a button to connect and login, click again to disconnect.
Visual Studio doesn't show errors and the disconnection occurs as expected.
Maybe we can send the example and you can try it yourself and spot any differences with respect to your use case?
If yes, contact us by email.
Visual Studio doesn't show errors and the disconnection occurs as expected.
Maybe we can send the example and you can try it yourself and spot any differences with respect to your use case?
If yes, contact us by email.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team