Issue with Php-redis - socket.io to emit to specific user -
i got issue php-redis socket.io ,in illustration here https://github.com/rase-/socket.io-php-emitter im trying emit specific user set on socket.io nodejs server , in varible called: var users = {}; carible contain socket id , when user connect node server im saving socket . on user_id users[data.id] = socket;
anyone can help me understand how send specific user way or way usingphp redis
ok did not utilize php emitter , installing php redis , utilize publish function communicate between php <-redis-> nodejs. publish diffrent keywords recognize action want preform in nodejs , depanding on emitting right action right user/s.
hope reply helped
socket.io-1.0 socket.io-redis
No comments:
Post a Comment