On Tue, Jun 19, 2012 at 1:26 AM, Paul Irofti <p...@irofti.net> wrote: > The newer glibc's, when creating a socket, add some higher bit flags to > the type argument that are used for debug, statistics, profiling > whatever. They are not useful and implementation specific.
Aren't those SOCK_CLOEXEC and SOCK_NONBLOCK? I would expect ignoring the former to result in rapid fd leaks, and ignoring of the latter to result in code blocking unexpectedly... Philip Guenther