zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.94k stars 742 forks source link

NetMQ hello world Error with go-zeromq #903

Open alberk8 opened 4 years ago

alberk8 commented 4 years ago

Environment

NetMQ Version: 4.0.0.207   
Operating System:  Windows 10 Pro Build 18363.836
.NET Version:     .Net Core 3.1

Expected behaviour

Return a "World" from go-zeromq The python implementation of the zmq client works. https://zeromq.org/languages/python/

Actual behaviour

The go-zeromq throws error. https://github.com/go-zeromq/zmq4/blob/master/example/rrworker.go

zmq4: could not open a ZMTP connection with "tcp://*:5559": zmq4: could not initialize ZMTP connection: github.com/go-zeromq/zmq4.Open /home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:92

Steps to reproduce the behaviour

1) compile the above go worker project and run it. 2) debug run the dot net code.

using (var client = new RequestSocket())
 {
   client.Connect("tcp://192.168.88.110:5559");

   for (int i = 0; i < 10; i++)
   {
     Console.WriteLine("Sending Hello");
     client.SendFrame( "Hello");
     var message = client.ReceiveFrameString();
          Console.WriteLine("Received {0}", message);
    }
 }
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.