Hi,
When you issue a redis command to subscribe to a channel, you are
supposed to pass a callback to be called whenever there's a message
sent to that channel. There are examples for redisAsyncCommand in
hiredis sources, afaik.
-alex
On Wed, Jul 25, 2012 at 8:21 AM, Jae Park <
bkb...@gmail.com> wrote:
> I am trying to test this pub/sub function of redis with hiredis client via
> c++.
>
> I can see that subscribing to certain channel seems to be easy enough to do
> through redisCommand Api.
>
> However I am wondering how the reply is coming back when somebody publish to
> the certain server.
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/CQdKcO2th3EJ.
>
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
>
redis-db+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/redis-db?hl=en.
--
a lex 13 x
http://a13x.net | @a13xnet