2011/7/19 yy l <[email protected]>:
> Attachment is my test code.

> Client is connecting and disconnecting continuously. The phenomenon is that
> memory of server is growing, and finally zmq::mailbox_t:: send (const
> command_t &cmd_) function arise an error, nbytes = -1, WSAGetLastError()
> return 10053.

You "test" code is almost commented out.

Anyway, your "server" doesn't call zmq_msg_close() after zmq_send(),
which is probably the reason for memory growth.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to