It looks like you're using Encoding.Unicode in your C# program, which
is a 2-byte unicode representation (UTF-16). Your C++ program is using
ASCII.

ZMQ subscription matching works on the byte level and does not convert
between character encodings, so this is probably where your issue is.
Try switching to Encoding.ASCII or Encoding.UTF8 in your C# program.
Alternately, use wide chars in your C++ program, as Bennie suggested.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to