On Sun, Feb 22, 2015 at 5:23 AM, Jan Stary <h...@stare.cz> wrote: > This is current/amd64. The default output of netstat(1) > contains quite a few lines like the following for the AF_UNIX family: > > 0x0 stream 0 0 0x0 0x0 > 0x0 stream 0 0 0x0 0x0 > 0x0 stream 0 0 0x0 0x0 > 0x0 stream 0 0 0x0 0x0 > 0x0 stream 0 0 0x0 0x0 > > What are these? Are they unnamed pipes opened in some running process? > As opposed to named pipes which have a filename in the last column? > > 0x0 stream 0 0 0x0 0x0 0x0 0x0 /tmp/aucat/aucat0
Yes. They're UNIX domain sockets that bind() wasn't called on, leaving them nameless. For UNIX stream sockets, there's no benefit to binding the client-side, so they almost always nameless. Philip Guenther