[zeromq-dev] Infinite loop while creating udp socket with invalid url

Arnaud Loonstra arnaud at sphaero.org
Wed Feb 1 14:01:05 CET 2023


Hi all,

Just for some more exposure I need some feedback on an error I'm running 
into with dgram sockets.

Issue here: https://github.com/zeromq/libzmq/issues/4504

Basically an url with a port <1024 doesn't return an error (permission 
denied) but results in a infinite loop trying to create the socket in 
the IO thread.

This doesn't happen with a TCP socket.

I traced it down to the getsockopt call not retrieving any error while 
errno is 13.

Anybody experience with this?

Rg,

Arnaud


More information about the zeromq-dev mailing list