[zeromq-dev] accept() and EMFILE/ENFILE
Martin Sustrik
sustrik at fastmq.com
Fri May 22 10:50:55 CEST 2009
> IMHO, it sounds like a bad design.
> Aren't we making assumptions about access to well known ports, root
> privileges etc. This rules out user space apps.
I've missed the point here, can you explain?
> Also closing the listening socket sends ECONNREFUESED to new
> connection requests, this is a hard tcp error.
> How does the client know if the server is temporarily busy or not
> running at all? Client can query zmq_server, but then aren't we going
> to endup with one of those byzantine problems?
My feeling is that both out-of-sockets and component-not-running should
be handled in the same way, specifically by attempt to reconnect after a
while.
Martin
More information about the zeromq-dev
mailing list