title: Troubles with zmq_bind() in ZeroMQ binding for MQL4 language
body: <p>I am working on MT4 and used wrapper <code>mql4zmq.dll</code> as given in link</p>
  
  <pre><code>https://github.com/AustenConrad/mql4zmq
  </code></pre>
  
  <p>As I have followed all instruction and successfully loaded <code>DLL</code> as well as <code>lib</code> file at specific locations from pre-compiled. But it can not <strong><code>bind</code></strong> or <strong><code>connect</code></strong> with socket through <strong><code>zmq_connect(,)</code></strong> or <strong><code>zmq_bind(,)</code></strong>. Please some one help me to solve this problem. I am posting my code here</p>
  
  <pre><code>// Include the libzmq.dll abstraction wrapper.
  #include &lt;mql4zmq.mqh&gt;
  
  //+------------------------------------------------------------------+
  //| variable definitions                                             |
  //+------------------------------------------------------------------+
  int speaker,listener,contextt;
  
  //+------------------------------------------------------------------+
  //| expert initialization function                                   |
  //+------------------------------------------------------------------+
  int init()
    {
  //----
     int major[1];int minor[1];int patch[1];
     zmq_version(major,minor,patch);
     Print("Using zeromq version " + major[0] + "." + minor[0] + "." + patch[0]);
  
     Print(ping("Hello World"));
  
     Print("NOTE: to use the precompiled libraries you will need to have the Microsoft Visual C++ 2010 Redistributable Package installed. To Download: http://www.microsoft.com/download/en/details.aspx?id=5555");
  
     contextt = zmq_init(1);
     speaker = zmq_socket(contextt, ZMQ_PUB);
     listener = zmq_socket(contextt, ZMQ_SUB);
  
     // Subscribe to the command channel (i.e. "cmd").  
     // NOTE: to subscribe to multiple channels call zmq_setsockopt multiple times.
     zmq_setsockopt(listener, ZMQ_SUBSCRIBE, ""); 
  
     if (zmq_bind(speaker,"tcp://127.0.0.1:5555") == -1) 
     {
        Print("Error binding the speaker!");
        return(-1);  
     } 
  </code></pre>
  
  <p>There is problem in </p>
  
  <pre><code>if ( zmq_bind( speaker, "tcp://127.0.0.1:5555" ) == -1 )
  </code></pre>
  
  <p>It returns <strong><code>-1</code></strong> and does not <strong><code>bind</code></strong>.</p>
  
  <p>I have tried every possible thing to solve this mystery but failed.</p>
  
  <p>Please let me know if I am mistaken!!!</p>