SocketIOClient-Unreal
SocketIOClient-Unreal copied to clipboard
How do you receive an event and answer back with data ?
Hey, I'm using python socketio as a server and UE as the client. I'm emitting a message from the server and I want to get data in return to my emit function. Is that something possible ?
If you mean a callback style api, then it's related to https://github.com/getnamo/SocketIOClient-Unreal/issues/79. Client ack to server request requires network thread immediate callback. That doesn't mesh well with unreal's game thread setup so for now this remains as a wish list item.
Work around is to fire back a reply event to the server that the server listens to. The reverse is also possible with client issuing an event with server callback via latent pipe.