How to receive emitted "event" data
The program connects to the server successfully.
I emit messages to the server every 5 seconds successfully (server outputs the data sent)
The server emits a message every second.
All works AS LONG as the server emits the message with event "message".
ex:
socket.emit("message", "Hello World"); from server Works with construct socket.io client on Message event
BUT
socket.emit("setText1", "Test"); from server does not get caught by construct socketio client on Message nor on Event / wild card event
How can I catch events sent from the server ... I assume using On Event or wildcard event, but I'm apparently doing something wrong as it does not catch these.