CZMQ: Getting started on Raspberry-Pi
<p>I made one simple <code>client-server</code> application on desktop PC and ran it successfully while making client and server on same PC. </p>

<p>Then i cross compiled the app to run it on raspberry. When i am running this app on raspberry, both client and server on raspberry, it is working perfectly. I can see the sent and received messages. </p>

<p>Now i made PC as server and raspberry as client but i can't see the received messages. Here is my code. </p>

<p><strong>PC Side Code:</strong></p>

<pre><code>zctx_t *ctx = zctx_new ();
void *reader = zsocket_new (ctx, ZMQ_PULL);
int rc = zsocket_connect (reader, "tcp://PC-IP:5555");
printf("wait for a message...\n");
while(1)
    {
        char *message = zstr_recv (reader);
        Sleep(10);
        printf("Message: %s",message);
    }
zctx_destroy (&amp;ctx);
</code></pre>

<p><strong>Raspberry Side Code:</strong></p>

<pre><code>zctx_t *ctx = zctx_new ();
void *writer = zsocket_new (ctx, ZMQ_PUSH);
int rc = zsocket_bind (writer, "tcp://PC-IP:5555");
while(1)
    {
        cout&lt;&lt;"sending................."&lt;&lt;endl;
        zstr_send (writer, "HELLO");
    }
zsocket_destroy (ctx, writer);
</code></pre>

<p>How can i make it work? </p>