Closed mostafatabal closed 6 years ago
Wait till you get the "connect" event before emitting anything.
@nuclearace how check if socket is connected , and in server node js console.log('connected!'); that's i connected can you tell me ho do that in objective-c ?
@nuclearace I tred to use socket io library but i've problem to emit : this is js code :
and this from code objective-c:-
and always got this error : - LOG SocketIOClient{/}: Handling event: error with data: ["Tried emitting roomId when not connected"]
please help