socket.IO-objc
socket.IO-objc copied to clipboard
SRWebSocket receives response bot does not dispatch to delegate
In the function _handleMessage:
I can see a response message from the server, but the code inside dispatch_async
is not executed and thus the function webSocket:didReceiveMessage:
isn't.
This doesn't occur in other cases I send messages to server. What might be wrong in this specific case?
I have the same problem where events are retrieved (Seeing from the log of the Socket.IO library) but not delegated.
The didReceiveEvent method is not called at al. This is strange because the socketIODidConnect is called. (And from there I send a new event, where the server in turn sends an event back).
I have the same problem. Even I couldn't receive delegate callback method:- (void) socketIODidConnect:(SocketIO *)socket
Any solution?
I have the same problem. Even I couldn't receive delegate callback method:- (void) socketIODidConnect:(SocketIO *)socket
Any solution?
Exaclty the same probem for me. I set breakpoints in the Socket.IO.m and the program didn't reach them.
UPDATE: Found it. The delegate MUST be defined as "strong" in the header file. Everything works perfect.