Closed tobi-tobsen closed 12 years ago
i will fix it, it better to fix this to have same behavior as c++.
I tried removing the the call to close() and it works now. #27
I am not sure whats the best behaviour/API is:
Maybe garbage collection is sufficient and there is no need for an explicit call to close?
c++ is copy the msg class but the buffer is not copied. we may do the same
i just added a new pull request with performance feature from original zeromq.
the throughput performance is looking good compare to the original.
i hope latency check is coming soon
From inspection of your pullrequest, the issue seems to be fixed and it seems that a call to Close
is still not necessary but doesn't hurt either since it is just setting the message type to VSM (very small message) (https://github.com/zeromq/netmq/blob/master/src/NetMQ/zmq/Msg.cs#L273).
If you want so, I'll add the latency performance test after work.
that will be great. thanks
fixed in last merge pull
Bug
Received messages via push/pull are empty. Both the
Size
property as well as the length of theData
byte[] property are 0.Steps to reproduce