netmq
netmq copied to clipboard
NetMQ hello world Error with go-zeromq
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
- zmq4: could not exchange greetings: github.com/go-zeromq/zmq4.(*Conn).init /home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:104
- zmq4: could not recv greeting: github.com/go-zeromq/zmq4.(*Conn).greet /home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:146
- could not read ZMTP greeting: github.com/go-zeromq/zmq4.(*greeting).read /home/smart/go/src/github.com/go-zeromq/zmq4/protocol.go:98
- unexpected EOF
Steps to reproduce the behaviour
- compile the above go worker project and run it.
- 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);
}
}
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.