Open JannyFoo opened 9 years ago
which socket.io version are you using?
socket.io 0.9.6 library
Any ideas?
Thanks, John
Thought that you were maybe using a newer version that isn't compatible with this library ... but because that isn't the case, I can't tell :(
ok thanks,
J
Hi,
If I connect to the socket server via a webpage with JS, everything works as expected. Correct data, handling the whole deal.
As soon as I attempt to do the same via socket.IO-objc i get bad data in debug log, and cannot handle data.
Maybe something to do with sure how to handle line breaks in packet data? I try looking for "\n", "\r", "\r\n" but nothing seems to work. In addition I always get "ERROR: data that has arrived wasn't valid".
My JS script works successfully looking for "\n".
Thanks, John