It works great on iOS 6.0 and 5.1 but when I try to run it on 5.0 when connecting I get the following error...
Websocket Failed With Error Error Domain=NSOSStatusErrorDomain Code=-9800 "The
operation couldn’t be completed. (OSStatus error -9800.)"
To add, this is when I test on simulator. I don't have a device that has 5.0, so im not sure if fails on the phone in the same way. Also, if I use ws (non-secure) as opposed wss, it seems to work fine.
Same happens to me. Works well on iOS 6.1 simulator but not on iOS 5.0 simulator. Could you solve that @so3arbelnox?
Pull request square#98 fixes the error when using SSL on iOS 5.0.