I'm using Socket.IO-Client-Swift' -13.2.0' to implement my project in Objective-C. I'm trying to connect to a Node.js service using Socket.IO and have followed the documentation for Objective-C. But when i try to run my code, the console logs 'tried connecting socket when engine isn't open' and cant get through.
Hi,
I'm using Socket.IO-Client-Swift' -13.2.0' to implement my project in Objective-C. I'm trying to connect to a Node.js service using Socket.IO and have followed the documentation for Objective-C. But when i try to run my code, the console logs 'tried connecting socket when engine isn't open' and cant get through.
Following is my code,
[socket connect];
And the console,
How to solve this issue? Thanks.