Hi Guys,
I have a very light weight application that uses the ZMQ library to receive
messages from an address. What happens is every 10seconds, a new request is
made to the server to process and receive messages. Now after this runs for
some 20-30minutes the system where ZMQ connects to crashes and its thought that
ZMQ is the cause of the crash. Here's my code below:
byte[] zmq_buffer = new byte[1024];
gpspos pos = new gpspos();
gps_parser gp = new gps_parser();
ZMQ.Context context = new ZMQ.Context(1);
ZMQ.Socket socket = context.Socket(ZMQ.SocketType.DEALER);
socket.Connect("tcp://remote_address");
zmq_buffer = socket.Recv();
I was wondering if there was any optimization process necessary on the code or
something. I'm using clrzmq for C#. Guys i need your advice. Thanks._______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev