I downloaded, setup, patched the server yesterday and started working on it today. I just want to learn the basics atm, while making my own game. But, with the first example (Connector) when I connect, then click disconnect I get this error:
Code: Select all
[SFS DEBUG] TCPSocketLayer: General error reading data from socket: Read failure at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
at Sfs2X.Core.Sockets.TCPSocketLayer.Read () [0x00000] in <filename unknown>:0
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Scripts/ConnectionGUI.cs:138)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Scripts/ConnectionGUI.cs:51)
I'm using Unity, updated the SmartFox2.dll to the newest (1.0.3) but the problem still exist. The server's version is 1.3.0, and I'm on OS X 10.8.1.
I' running it in the editor.