I have below problem:
I connect to rabbitmq server, and start loop of reading messages from some queue.
After that I kill this queue on server -> but select function on socket doesn't return any errors.
And If I create this queue again - I won't receive any messages (I try push messages to queue from WEB interface)
So how can I process this situation?
Michael, thanks for reply.
I subscribe for server-pushed deliveries using basic.consume method.
Loop of reading is something like belowЖ
int wait(int fd, int timeout_msec)
struct timeval tv;