jonnydee/nzmqt — Issue #2: ReqRep client does not receive response
Author: yisding
Created: 2012-01-25 18:42:00+00:00
State: open

I built nzmqt with zmq 2.1.11 on Windows 7 using the Qt SDK (Qt 4.7.4).

When running your Req-Rep example, there's no message received (only sent) and it just hangs there.

client output:
ReqRepClient::sendRequest> ("REQUEST[1: 2012-01-25T12:38:08]", "ping")

server output:
ReqRepServer::requestReceived> ("REQUEST[1: 2012-01-25T12:38:08]", "ping")
ReqRepServer::sendReply> ("REPLY[1: 2012-01-25T12:38:12]", "ping", "REQUEST[1: 2012-01-25T12:38:08]", "ping")

Doing a little bit of digging, it appears that socketReadActivity never gets called on the requester side even after a message comes in.

This may be related to this thread:

http://lists.zeromq.org/pipermail/zeromq-dev/2011-December/014688.html

but I'll do some more digging.