Closed sonygod closed 4 years ago
I'm having trouble with ios (13) too. I also tried using the daltoniam/Starscream library and tried just using sys.net.socket in Haxe 4. Somehow a socket on ios seems to refuse to be connected with the Haxe Socket. It always throws error 61 on the ios side. So it seems the problem is not in this hxWebsocketSockets library but at a lower level.
well ,I'll report here if I found the solutions.
@gepatto
I found here is wrong
var ws:WebSocket = Thread.readMessage(true);
@ianharrigan any idea?
fixed by use MainLoop.addThread to replace Thread.readMessage
@ianharrigan @gepatto
OK, great - can you get the latest from git and make sure it works? If it does, then ill make a haxelib release.
Thanks! Ian
This is the commit fyi: https://github.com/ianharrigan/hxWebSockets/commit/57df647e8e3861b9d05e049fb14e9ffc2beaac16
sure
when target to ios from unity ,it's seem not work .
I'm trying to debug and found out why not work .
mark.