Re: [zeromq-dev] Using libsdp and zeromq

2012-08-29 Thread Michael Rissi
Being clever in zeromq and unsetting HAVE_SOCK_CLOEXEC will not help, as the zeromq server will crash sooner or later when exiting a client. Nothing will crash. It will leak socket if you will run exec call or fork then exec. Which is usually avoidable in zeromq apps. To remove memory leak

[zeromq-dev] Using libsdp and zeromq

2012-08-27 Thread Michael Rissi
Hello zeromq devs! I tried to use zeromq with preloaded libsdp over infiniband. This unfortunately fails. The reason for it is the SOCK_CLOEXEC flag set in ip.cpp. Libsdp checks the socket type to be exactly SOCK_STREAM. If it is not the case (as in zeromq, where the socket type is type =