07.11.2011, 14:46, "Martin Sustrik" <[email protected]>: > Think of, for exmaple, bound ports. If you close the socket you want the > port to be available for new sockets immediately rather than lingering on.
Sounds reasonable. Coming back to topicstarter's issue, I doubt the issue is caused by GC. If I am wrong and it is (which means operations are intensive) it is better to keep connection, not recreate every time. The same is true abot zmq context. Context lifetime is probably much more important than socket lifetime from resource perspective. -- Best regards, Ilja Golshtein. _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
