zmq_close hanging on unused socket
Description
Environment
Centos Linux 6.4, 64bit
kernel 2.6.32
glibc-2.12-1
libstdc++-4.4.7
zeromq-3.2.3
Activity
Show:

Guido G. August 29, 2013 at 10:07 AM
Might well be that the SO_LINGER option only works on a valid connection.
Which in this case never will happen.
Will have a look.
Connecting to a non existent host, then calling zmq_close causes a block
Sample code:
Where IP 8.8.8.8 is used to demonstrate a host blocking connections on port 2120.
Compiled like so:
When I run this, I get the following output: